Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5c018db

Browse files
miss-islingtonShreyash Sharma
andauthored
Fixing doc for callback for lambda (GG-25779) (GH-25788)
Fixing callback for lambda when no return value is provided (cherry picked from commit 50c21ad) Co-authored-by: Shreyash Sharma <[email protected]> Co-authored-by: Shreyash Sharma <[email protected]>
1 parent af1e06c commit 5c018db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/types.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Dynamic Type Creation
3434
freshly created class namespace. It should accept the class namespace
3535
as its sole argument and update the namespace directly with the class
3636
contents. If no callback is provided, it has the same effect as passing
37-
in ``lambda ns: ns``.
37+
in ``lambda ns: None``.
3838

3939
.. versionadded:: 3.3
4040

0 commit comments

Comments
 (0)