Simplify decorators, make them easier to read in debugging mode.
This commit is contained in:
1 parent
6d866eb915
commit
90ce1ac47f
2 files changed
+7
-15
No files matched your search
@@ -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