Module SpecialMethod
Machinery for detecting special method calls.
Extend SpecialMethod::Potential
to capture more cases.
Import path
import semmle.python.SpecialMethods
Classes
Potential | A control flow node which might correspond to a special method call. |
SpecialBinOp | A binary expression node that might correspond to a special method call. |
SpecialDelItem | A subscript expression node that might correspond to a call to delitem. |
SpecialGetItem | A subscript expression node that might correspond to a call to getitem. |
SpecialSetItem | A subscript expression node that might correspond to a call to setitem. |
SpecialSubscript | A subscript expression node that might correspond to a special method call. |