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

Member predicate Function::isInitMethod

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

predicate isInitMethod()