[issue40850] Programming FAQ - variables local to the lambdas

Rainald Koch report at bugs.python.org
Tue Jun 2 19:11:05 EDT 2020


New submission from Rainald Koch <Rainald.Koch at 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 at python
components: Documentation
messages: 370637
nosy: Rainald Koch, docs at python
priority: normal
severity: normal
status: open
title: Programming FAQ - variables local to the lambdas
type: enhancement
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40850>
_______________________________________


More information about the Python-bugs-list mailing list