Class representing classes in the Python program, both Python and built-in.
Gets the attribute declared in this class
Holds if this class declares the attribute
Gets an immediate base type of this class.
Gets an improper super type of this class.
Gets the nth immediate base type of this class.
Gets the MRO for this class
Gets the qualified name for this class. Should return the same name as the
Gets the scope associated with this class, if it is not a builtin class
Holds if this class has the attribute
Holds if this class is a container(). That is, does it have a getitem method.
Holds if this class is a context manager.
Holds if this class is a descriptor.
Holds if this class is an iterable.
Holds if this class is an iterator.
Whether this class is a legal exception class. What constitutes a legal exception class differs between major versions
Holds if this class is a mapping.
Holds if this class is a new style class. A new style class is one that implicitly or explicitly inherits from
Holds if this class is an old style class. An old style class is one that does not inherit from
Holds if this class is probably a sequence.
Looks up the attribute
Gets the boolean interpretation of this value. Could be both
Gets a call to this object
Gets a call to this object with the given
Gets the class of this object. Strictly, the
Gets the boolean interpretation of this value, only if we can determine the result precisely. The result can be
Gets the name of this value, if it has one. Note this is the innate name of the object, not necessarily all the names by which it can be called.
Gets the origin CFG node for this value.
Whether this value is absent from the database, but has been inferred to likely exist
Holds if this value is builtin. Applies to built-in functions and methods, but also integers and strings.
Whether this overrides v. In this context, “overrides” means that this object is a named attribute of a some class C and