Get with statements working.
This commit is contained in:
1 parent
541b8872d0
commit
f3c2b4fc33
2 files changed
+17
-2
No files matched your search
@@ -299,6 +299,8 @@ class NameFinder(object):
|
||||
types += self._eval_param(typ)
|
||||
elif typ.isinstance(pr.ExprStmt):
|
||||
types += self._remove_statements(typ, name)
|
||||
elif typ.isinstance(pr.WithStmt):
|
||||
types += evaluator.eval_element(typ.node_from_name(name))
|
||||
elif isinstance(typ, pr.Import):
|
||||
types += imports.ImportWrapper(self._evaluator, name).follow()
|
||||
elif isinstance(typ, pr.TryStmt):
|
||||
|
||||
Reference in new issue
Block a user