forked from VimPlug/jedi
initial poc pep-0484 type hints
This commit is contained in:
14
test/completion/pep0484.py
Normal file
14
test/completion/pep0484.py
Normal file
@@ -0,0 +1,14 @@
|
||||
""" Pep-0484 type hinting """
|
||||
|
||||
# -----------------
|
||||
# sphinx style
|
||||
# -----------------
|
||||
def typehints(a, b: str, c: int, d:int = 4):
|
||||
#?
|
||||
a
|
||||
#? str()
|
||||
b
|
||||
#? int()
|
||||
c
|
||||
#? int()
|
||||
d
|
||||
Reference in New Issue
Block a user