New submission from Rainald Koch :
In section [10] of the FAQ, I whould add "(a function parameter with different
default values)" after "variables local to the lambdas".
Besides, I had to look up "memoizing" [2] and suspect that "memorizing" would
be correct.
[10]
https://docs.python.org/3/faq/programming.html#why-do-lambdas-defined-in-a-loop-with-different-values-all-return-the-same-result
[2] https://en.wikipedia.org/wiki/Memoization
--
assignee: docs@python
components: Documentation
messages: 370637
nosy: Rainald Koch, docs@python
priority: normal
severity: normal
status: open
title: Programming FAQ - variables local to the lambdas
type: enhancement
versions: Python 3.10
___
Python tracker
<https://bugs.python.org/issue40850>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com