Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-33826: add __filename__ to Python-defined classes for introspection #13894

Closed
wants to merge 1 commit into from

Commits on Jun 7, 2019

  1. bpo-37177: add __filename__ to Python-defined classes for introspection

    This adds an attribute __filename__ to classes. It enables introspection
    in IPython using inspect.getsource().
    t-vi committed Jun 7, 2019
    Configuration menu
    Copy the full SHA
    f7ee08c View commit details
    Browse the repository at this point in the history