CodeQL library for Python
codeql/python-all 0.10.5 ( changelog , source )
Search

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 )