mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
22 lines
307 B
Python
22 lines
307 B
Python
""" Test docstrings in functions and classes, which are used to infer types """
|
|
|
|
def f(a, b):
|
|
""" asdfasdf
|
|
:param a: blablabla
|
|
:type a: str
|
|
"""
|
|
#? str()
|
|
a
|
|
#?
|
|
b
|
|
|
|
def g(a, b):
|
|
""" asdfasdf
|
|
Arguments:
|
|
a (str): blablabla
|
|
"""
|
|
#? str()
|
|
a
|
|
#?
|
|
b
|