New submission from Rainald Koch <rainald.k...@t-online.de>:

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 <rep...@bugs.python.org>
<https://bugs.python.org/issue40850>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to