This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients docs@python, eric.smith
Date 2021-04-12.14:23:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618237407.5.0.0559454407816.issue43815@roundup.psfhosted.org>
In-reply-to
Content
https://github.com/python/cpython/blob/3.8/Lib/types.py

The documentation says "If no callback is provided, it has the same effect as passing in lambda ns: ns."

I read this as saying that the callback should return the namespace, but in reality the return value is ignored. I think the lambda should be "lambda ns: None".
History
Date User Action Args
2021-04-12 14:23:27eric.smithsetrecipients: + eric.smith, docs@python
2021-04-12 14:23:27eric.smithsetmessageid: <1618237407.5.0.0559454407816.issue43815@roundup.psfhosted.org>
2021-04-12 14:23:27eric.smithlinkissue43815 messages
2021-04-12 14:23:27eric.smithcreate