Built-In Class Attributes
Built-In Class Attributes:
• __dict__ − Dictionary containing the class's namespace.
• __doc__ − Class documentation string or none, if undefined.
• __name__ − Class name.
• __module__ − Module name in which the class is defined. This attribute is "main" in interactive mode.
• __bases__ − A possibly empty tuple containing the base classes, in the order of their occurrence in the base class list.
Output:
Last updated