1
0
forked from VimPlug/jedi

Change docstring test function names, so that dynamic param completion doesn't interfere (especially because some of those files still generate parser errors).

This commit is contained in:
Dave Halter
2014-11-20 00:35:48 +01:00
parent b5418d9d73
commit 22b288fc73

View File

@@ -3,7 +3,7 @@
# ----------------- # -----------------
# sphinx style # sphinx style
# ----------------- # -----------------
def f(a, b, c, d, x): def sphinxy(a, b, c, d, x):
""" asdfasdf """ asdfasdf
:param a: blablabla :param a: blablabla
:type a: str :type a: str
@@ -27,10 +27,10 @@ def f(a, b, c, d, x):
x.lower x.lower
#? dict() #? dict()
f() sphinxy()
# wrong declarations # wrong declarations
def f(a, b, x): def sphinxy2(a, b, x):
""" """
:param a: Forgot type declaration :param a: Forgot type declaration
:type a: :type a:
@@ -47,7 +47,7 @@ def f(a, b, x):
x x
#? #?
f() sphinxy2()
# local classes -> github #370 # local classes -> github #370
class ProgramNode(): class ProgramNode():
@@ -104,7 +104,7 @@ return_module_object().join
# ----------------- # -----------------
# epydoc style # epydoc style
# ----------------- # -----------------
def e(a, b): def epydoc(a, b):
""" asdfasdf """ asdfasdf
@type a: str @type a: str
@param a: blablabla @param a: blablabla
@@ -121,7 +121,7 @@ def e(a, b):
b[1] b[1]
#? list() #? list()
e() epydoc()
# Returns with param type only # Returns with param type only