forked from VimPlug/jedi
19 lines
221 B
Python
19 lines
221 B
Python
""" Pep-0484 type hinting """
|
|
|
|
# python >= 3.2
|
|
|
|
# -----------------
|
|
# simple classes
|
|
# -----------------
|
|
|
|
|
|
def typehints(a, b: str, c: int, d: int=4):
|
|
#?
|
|
a
|
|
#? str()
|
|
b
|
|
#? int()
|
|
c
|
|
#? int()
|
|
d
|