1
0
forked from VimPlug/jedi

Fix inferring dict.values()

This commit is contained in:
Dave Halter
2018-09-21 01:09:13 +02:00
parent 43ffcb0802
commit 389d4e3d9c
5 changed files with 19 additions and 5 deletions

View File

@@ -112,7 +112,7 @@ class FunctionContext(use_metaclass(CachedMetaClass, AbstractFunction)):
def py__call__(self, arguments, need_param_match=False):
function_execution = self.get_function_execution(arguments)
if need_param_match and function_execution.matches_signature():
if need_param_match and not function_execution.matches_signature():
return NO_CONTEXTS
return function_execution.infer()