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 SilentGhost
Recipients Rainald Koch, SilentGhost, docs@python
Date 2020-06-03.05:24:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591161842.37.0.118862488494.issue40850@roundup.psfhosted.org>
In-reply-to
Content
I don't think your suggestion improve readability there. I think explanation following the code example does a decent job without being overly verbose.

Regarding, memoization, it is mentioned in [0], right after describing the technique. So, I'm not sure why you had to specifically look it up or why you still suspect that memorisation would be correct

[0]: https://docs.python.org/3/faq/programming.html#why-are-default-values-shared-between-objects
History
Date User Action Args
2020-06-03 05:24:02SilentGhostsetrecipients: + SilentGhost, docs@python, Rainald Koch
2020-06-03 05:24:02SilentGhostsetmessageid: <1591161842.37.0.118862488494.issue40850@roundup.psfhosted.org>
2020-06-03 05:24:02SilentGhostlinkissue40850 messages
2020-06-03 05:24:01SilentGhostcreate