mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-09 21:42:20 +08:00
15 lines
202 B
Python
15 lines
202 B
Python
""" Pep-0484 type hinting """
|
|
|
|
# -----------------
|
|
# sphinx style
|
|
# -----------------
|
|
def typehints(a, b: str, c: int, d:int = 4):
|
|
#?
|
|
a
|
|
#? str()
|
|
b
|
|
#? int()
|
|
c
|
|
#? int()
|
|
d
|