Skip to content

Commit

Permalink
Updated documentation for inspect module: some module attributes were…
Browse files Browse the repository at this point in the history
… missing
  • Loading branch information
MichaelAnckaert committed Sep 3, 2021
1 parent be9de87 commit a1b76e5
Showing 1 changed file with 17 additions and 1 deletion.
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

0 comments on commit a1b76e5

Please sign in to comment.