Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python typing module list

"""
typing.Tuple and typing.List are Generic types; this means you can specify what type their contents must be:
"""

def f(points: Tuple[float, float]):
    return map(do_stuff, points)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #typing #module #list
ADD COMMENT
Topic
Name
3+2 =