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