Class representing values in the Python program
Value is a static approximation to a set of one or more real objects.
Known direct subtypes
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.
Holds if this value has the attribute
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