New submission from Eric Snow <ericsnowcurren...@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@python components: Documentation keywords: easy, newcomer friendly messages: 357502 nosy: docs@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 <rep...@bugs.python.org> <https://bugs.python.org/issue38918> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com