mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 06:44:46 +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()
|
||||
|
||||
# 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
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user