[New-bugs-announce] [issue38918] Add __module__ entry for function type in inspect docs table.
Eric Snow
report at bugs.python.org
Tue Nov 26 10:27:12 EST 2019
New submission from Eric Snow <ericsnowcurrently at gmail.com>:
The docs page for the inspect module has a large table describing the special attributes of various important types. One entry for function attributes is missing: __module__. It should be added.
Note that __module__ *is* included in the function attributes listed in the language reference. [2]
The same goes for the "method" (really "instance method") section of the table: it should also have __module__. [3]
[1] https://docs.python.org/3/library/inspect.html#types-and-members
[2] https://docs.python.org/3/reference/datamodel.html#index-34
[3] https://docs.python.org/3/reference/datamodel.html#index-36
----------
assignee: docs at python
components: Documentation
keywords: easy, newcomer friendly
messages: 357502
nosy: docs at python, eric.snow
priority: normal
severity: normal
stage: needs patch
status: open
title: Add __module__ entry for function type in inspect docs table.
type: enhancement
versions: Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38918>
_______________________________________
More information about the New-bugs-announce
mailing list