1
0
forked from VimPlug/jedi

builtin.parse_function_doc -> _parse_function_doc

This commit is contained in:
David Halter
2013-02-06 15:45:37 +01:00
parent 59de98af67
commit fa5ce843cd

View File

@@ -251,7 +251,7 @@ def _generate_code(scope, mixin_funcs={}, depth=0):
# functions # functions
for name, func in funcs.items(): for name, func in funcs.items():
params, ret = parse_function_doc(func) params, ret = _parse_function_doc(func)
if depth > 0: if depth > 0:
params = 'self, ' + params params = 'self, ' + params
doc_str = get_doc(func, indent=True) doc_str = get_doc(func, indent=True)
@@ -322,7 +322,7 @@ def _generate_code(scope, mixin_funcs={}, depth=0):
return code return code
def parse_function_doc(func): def _parse_function_doc(func):
""" """
Takes a function and returns the params and return value as a tuple. Takes a function and returns the params and return value as a tuple.
This is nothing more than a docstring parser. This is nothing more than a docstring parser.