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

Member predicate ClassObject::isSubclassOf

Holds if this class is an improper subclass of the other class. True if this is a sub-class of other or this is the same class as other.

Equivalent to the Python builtin function issubclass().

predicate isSubclassOf(ClassObject other)