bpo-38918: Add __module__ entry for function & method type in inspect docs table (GH-17408)
Adds` __module__ ` entries for function & method types in inspect docs table.
https://bugs.python.org/issue38918
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index 10f347d..bab2c41 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -70,6 +70,9 @@
| | | method is bound, or |
| | | ``None`` |
+-----------+-------------------+---------------------------+
+| | __module__ | name of module in which |
+| | | this method was defined |
++-----------+-------------------+---------------------------+
| function | __doc__ | documentation string |
+-----------+-------------------+---------------------------+
| | __name__ | name with which this |
@@ -98,6 +101,9 @@
| | | reserved for return |
| | | annotations. |
+-----------+-------------------+---------------------------+
+| | __module__ | name of module in which |
+| | | this function was defined |
++-----------+-------------------+---------------------------+
| traceback | tb_frame | frame object at this |
| | | level |
+-----------+-------------------+---------------------------+