mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Fixing doc for callback for lambda (GG-25779)
Fixing callback for lambda when no return value is provided
This commit is contained in:
parent
823fbf4e0e
commit
50c21ad353
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ Dynamic Type Creation
|
|||
freshly created class namespace. It should accept the class namespace
|
||||
as its sole argument and update the namespace directly with the class
|
||||
contents. If no callback is provided, it has the same effect as passing
|
||||
in ``lambda ns: ns``.
|
||||
in ``lambda ns: None``.
|
||||
|
||||
.. versionadded:: 3.3
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue