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

Member predicate FunctionValue::isNormalMethod

Whether this is a “normal” method, that is, it is exists as a class attribute which is not a lambda and not the new method.

predicate isNormalMethod()