Predicate selfTracker
Gets a reference to the self
argument of a method on class classWithMethod
.
The method cannot be a staticmethod
or classmethod
.
Import path
import semmle.python.dataflow.new.internal.DataFlowDispatch
Node selfTracker(Class classWithMethod)