docstring param hints not working properly - test for #370
This commit is contained in:
1 parent
2dbfe46a5a
commit
196fcdb4df
1 file changed
+14
@@ -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