Skip to content

bpo-19820: Updated documentation for inspect module: some module attributes were… #15359

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

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion Doc/library/inspect.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,27 @@ attributes:
+-----------+-------------------+---------------------------+
| Type | Attribute | Description |
+===========+===================+===========================+
| module | __doc__ | documentation string |
| module | __cached__ | the path where a compiled |
| | | version is stored |
+-----------+-------------------+---------------------------+
| | __doc__ | documentation string |
+-----------+-------------------+---------------------------+
| | __file__ | filename (missing for |
| | | built-in modules) |
+-----------+-------------------+---------------------------+
| | __loader__ | loader used to load the |
| | | module |
+-----------+-------------------+---------------------------+
| | __name__ | name of the module |
+-----------+-------------------+---------------------------+
| | __path__ | list of strings specifying|
| | | the search path within a |
| | | package (not set for |
| | | modules) |
+-----------+-------------------+---------------------------+
| | __package__ | parent package for the |
| | | module/package |
+-----------+-------------------+---------------------------+
| class | __doc__ | documentation string |
+-----------+-------------------+---------------------------+
| | __name__ | name with which this |
Expand Down