CodeQL library for Python
codeql/python-all 0.11.8 (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()