Python: Remove use of deprecated methods

This commit is contained in:
Rasmus Wriedt Larsen
2020-01-21 11:49:00 +01:00
parent e6425bb4cf
commit 96d5703f2c
22 changed files with 41 additions and 45 deletions

View File

@@ -25,7 +25,7 @@ Object aFunctionLocalsObject() {
predicate modification_of_locals(ControlFlowNode f) {
f.(SubscriptNode).getValue().refersTo(aFunctionLocalsObject()) and (f.isStore() or f.isDelete())
f.(SubscriptNode).getObject().refersTo(aFunctionLocalsObject()) and (f.isStore() or f.isDelete())
or
exists(string mname, AttrNode attr |
attr = f.(CallNode).getFunction() and