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

Member predicate Function::isInitMethod

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

predicate isInitMethod()