mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Fixing doc for callback for lambda (GG-25779) (GH-25788)
Fixing callback for lambda when no return value is provided
(cherry picked from commit 50c21ad353)
Co-authored-by: Shreyash Sharma <shreyash.sharma@philips.com>
Co-authored-by: Shreyash Sharma <shreyash.sharma@philips.com>
This commit is contained in:
parent
af1e06c62f
commit
5c018db467
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