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

@@ -30,7 +30,7 @@ predicate mutates_globals(ModuleValue m) {
|
exists(AttrNode attr | attr.getObject() = globals)
or
exists(SubscriptNode sub | sub.getValue() = globals and sub.isStore())
exists(SubscriptNode sub | sub.getObject() = globals and sub.isStore())
)
or
exists(Value enum_convert, ClassValue enum_class |