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

Member predicate Function::isInitMethod

Whether this function is declared in a class and is named __init__

predicate isInitMethod()