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

Predicate baseless_is_new_style

Holds if cls is a new-style class if it were to have no explicit base classes

Import path

import python
predicate baseless_is_new_style ( ClassObject cls )