nomri / type_utils.py
samaonline
init
1b34a12
raw
history blame contribute delete
173 Bytes
def tuple_type(strings):
strings = strings.replace("(", "").replace(")", "").replace(" ", "")
mapped_int = map(int, strings.split(","))
return tuple(mapped_int)