1
0
forked from VimPlug/jedi

filter all non executables when used with call_signatures, fixes #240

This commit is contained in:
David Halter
2013-08-07 14:36:35 +04:30
parent a79148925d
commit 2ea2a8c6cd
2 changed files with 9 additions and 1 deletions

View File

@@ -467,7 +467,8 @@ class Script(object):
origins = cache.cache_function_definition(_callable, user_stmt)
debug.speed('func_call followed')
return [api_classes.CallDef(o, index, call) for o in origins]
return [api_classes.CallDef(o, index, call) for o in origins
if o.isinstance(er.Function, er.Instance, er.Class)]
def _func_call_and_param_index(self):
debug.speed('func_call start')