mirror of
https://github.com/davidhalter/jedi.git
synced 2026-09-17 07:13:14 +08:00
Simplify decorators, make them easier to read in debugging mode.
This commit is contained in:
@@ -293,6 +293,7 @@ class NameFinder(object):
|
||||
|
||||
for name in names:
|
||||
typ = name.get_definition()
|
||||
print(name, typ)
|
||||
if typ.isinstance(pr.ForStmt):
|
||||
for_types = self._evaluator.eval_element(typ.children[-3])
|
||||
for_types = iterable.get_iterator_types(for_types)
|
||||
|
||||
Reference in New Issue
Block a user