Sitelet https://github.com/python/cpython/issues/149096
Skip to content

inspect docstring is outdated #149096

Description

@jonathandung

Documentation

The docstring of the inspect module on every python 3 branch lists 'im_*' among the 'internal special attributes' whose interfaces are better encapsulated by the functions provided by inspect. However, these attributes of method objects (im_func, im_class, im_self) are python 2 only. The inspect docstring should be changed accordingly to reflect this.

Linked PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions