add over.callback.strings

This commit is contained in:
Martinez 2016-08-07 22:48:09 +02:00
parent 89cbc24cbb
commit 44c47e50f0
2 changed files with 15 additions and 1 deletions

View file

@ -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

View file

@ -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))