forked from VimPlug/jedi
Fix another error that surfaced in pandas
This commit is contained in:
@@ -232,7 +232,7 @@ class CompiledInstance(AbstractInstanceContext):
|
|||||||
def get_first_non_keyword_argument_contexts(self):
|
def get_first_non_keyword_argument_contexts(self):
|
||||||
key, lazy_context = next(self._original_var_args.unpack(), ('', None))
|
key, lazy_context = next(self._original_var_args.unpack(), ('', None))
|
||||||
if key is not None:
|
if key is not None:
|
||||||
return None
|
return NO_CONTEXTS
|
||||||
|
|
||||||
return lazy_context.infer()
|
return lazy_context.infer()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user