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

Member predicate LocalVariable::isSelf

Holds if this variable is the first parameter of a method. It is not necessarily called “self”

predicate isSelf()