2.3.11 Special Attributes
The implementation adds a few special read-only attributes to several object types, where they are relevant. Some of these are not reported by the dir() built-in function.
- A dictionary or other mapping object used to store an object's (writable) attributes.
- The class to which a class instance belongs.
- The tuple of base classes of a class object. If there are no base classes, this will be an empty tuple.
- The name of the class or type.