param docstrings cleaned up - #370

This commit is contained in:
Dave Halter
2014-03-27 19:51:35 +01:00
parent b680246195
commit eea2d0c8c5
2 changed files with 18 additions and 9 deletions

View File

@@ -44,18 +44,23 @@ def f(a, b):
f()
# local classes -> github #370
class ProgramNode(object):
def add_child(self, child):
pass
class ProgramNode():
pass
def func(node):
def func(node, node2):
"""
Do something with a ``node``.
:type node: ProgramNode
... and the class definition after this func definition:
:type node2: ProgramNode2
"""
#? ProgramNode
node
#? ProgramNode2
node2
class ProgramNode2():
pass
# -----------------
# epydoc style