docstring param hints not working properly - test for #370

This commit is contained in:
Dave Halter
2014-03-26 16:47:54 +01:00
parent 2dbfe46a5a
commit 196fcdb4df

View File

@@ -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
# -----------------