1
0
forked from VimPlug/jedi

builtin functions didn't have a self attribute until now

This commit is contained in:
David Halter
2012-09-16 23:38:02 +02:00
parent fa02410fda
commit 11bfbbab6f

View File

@@ -281,6 +281,8 @@ class Parser(CachedModule):
# functions
for name, func in funcs.items():
params, ret = parse_function_doc(func)
if depth > 0:
params = 'self, ' + params
doc_str = get_doc(func, indent=True)
try:
mixin = mixin_funcs[name]