mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-10 15:51:51 +08:00
docstring param hints not working properly - test for #370
This commit is contained in:
@@ -43,6 +43,20 @@ def f(a, b):
|
|||||||
#?
|
#?
|
||||||
f()
|
f()
|
||||||
|
|
||||||
|
# local classes -> github #370
|
||||||
|
class ProgramNode(object):
|
||||||
|
def add_child(self, child):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def func(node):
|
||||||
|
"""
|
||||||
|
Do something with a ``node``.
|
||||||
|
|
||||||
|
:type node: ProgramNode
|
||||||
|
"""
|
||||||
|
#? ProgramNode
|
||||||
|
node
|
||||||
|
|
||||||
# -----------------
|
# -----------------
|
||||||
# epydoc style
|
# epydoc style
|
||||||
# -----------------
|
# -----------------
|
||||||
|
|||||||
Reference in New Issue
Block a user