Fix another error that surfaced in pandas
This commit is contained in:
1 parent
a61742728b
commit
e6a3a8882c
1 file changed
+1
-1
@@ -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