add over.callback.strings
This commit is contained in:
parent
89cbc24cbb
commit
44c47e50f0
2 changed files with 15 additions and 1 deletions
|
@ -34,3 +34,17 @@ def booleans(*args):
|
|||
out.append(boolean(arg))
|
||||
|
||||
return out
|
||||
|
||||
def strings(*args):
|
||||
"""
|
||||
Converts each element to str.
|
||||
|
||||
@while converting arguments to strings
|
||||
"""
|
||||
|
||||
out = []
|
||||
|
||||
for arg in args:
|
||||
out.append(str(arg))
|
||||
|
||||
return out
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
major = 1 # VERSION_MAJOR_IDENTIFIER
|
||||
minor = 99 # VERSION_MINOR_IDENTIFIER
|
||||
# VERSION_LAST_MM 1.99
|
||||
patch = 7 # VERSION_PATCH_IDENTIFIER
|
||||
patch = 8 # VERSION_PATCH_IDENTIFIER
|
||||
str = ".".join(str(v) for v in (major, minor, patch))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue