mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 23:34:45 +08:00
param docstrings cleaned up - #370
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user