Skip to content

super builtin class #123207

@dongbohu

Description

@dongbohu

Documentation

I found the leading sentence in this paragraph a little misleading:

The :attr:`~class.__mro__` attribute of the *object_or_type* lists the method

because if the object_or_type is an object, it won't have __mro__ attribute. The attribute should be object.__class__.__mro__.

On the other hand, if object_or_type is a type (class), then __mro__ attribute does exist.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions