mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-21 14:48:25 +08:00
Fix an issue with the new set of types instead of lists.
This commit also includes some comments and improvements for debugging.
This commit is contained in:
@@ -60,7 +60,7 @@ class Arguments(tree.Base):
|
||||
element = self.argument_node[0]
|
||||
from jedi.evaluate.iterable import AlreadyEvaluated
|
||||
if isinstance(element, AlreadyEvaluated):
|
||||
element = self._evaluator.eval_element(element)[0]
|
||||
element = list(self._evaluator.eval_element(element))[0]
|
||||
except IndexError:
|
||||
return None
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user