We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a01ef83 commit 4da5222Copy full SHA for 4da5222
python/ql/src/Functions/ModificationOfParameterWithDefault.ql
@@ -25,7 +25,10 @@ predicate safe_method(string name) {
25
name = "values" or
26
name = "iteritems" or
27
name = "iterkeys" or
28
- name = "itervalues"
+ name = "itervalues" or
29
+ name = "__contains__" or
30
+ name = "__getitem__" or
31
+ name = "__getattribute__"
32
}
33
34
/** Gets the truthiness (non emptyness) of the default of `p` if that value is mutable */
0 commit comments