File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Misc/NEWS.d/next/Documentation Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ attributes:
70
70
| | | method is bound, or |
71
71
| | | ``None `` |
72
72
+-----------+-------------------+---------------------------+
73
+ | | __module__ | name of module in which |
74
+ | | | this method was defined |
75
+ +-----------+-------------------+---------------------------+
73
76
| function | __doc__ | documentation string |
74
77
+-----------+-------------------+---------------------------+
75
78
| | __name__ | name with which this |
@@ -98,6 +101,9 @@ attributes:
98
101
| | | reserved for return |
99
102
| | | annotations. |
100
103
+-----------+-------------------+---------------------------+
104
+ | | __module__ | name of module in which |
105
+ | | | this function was defined |
106
+ +-----------+-------------------+---------------------------+
101
107
| traceback | tb_frame | frame object at this |
102
108
| | | level |
103
109
+-----------+-------------------+---------------------------+
Original file line number Diff line number Diff line change
1
+ Add an entry for ``__module__ `` in the "function" & "method" sections of the
2
+ `inspect docs types and members table
3
+ <https://docs.python.org/3/library/inspect.html#types-and-members> `_
You can’t perform that action at this time.
0 commit comments