Message390854
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". |
|
Date |
User |
Action |
Args |
2021-04-12 14:23:27 | eric.smith | set | recipients:
+ eric.smith, docs@python |
2021-04-12 14:23:27 | eric.smith | set | messageid: <1618237407.5.0.0559454407816.issue43815@roundup.psfhosted.org> |
2021-04-12 14:23:27 | eric.smith | link | issue43815 messages |
2021-04-12 14:23:27 | eric.smith | create | |
|