From: Shreyash Sharma Date: Sat, 1 May 2021 18:24:10 +0000 (+0530) Subject: Fixing doc for callback for lambda (GG-25779) X-Git-Tag: v3.10.0b1~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50c21ad35372983680b44130be560d856c5f27ca;p=thirdparty%2FPython%2Fcpython.git Fixing doc for callback for lambda (GG-25779) Fixing callback for lambda when no return value is provided --- diff --git a/Doc/library/types.rst b/Doc/library/types.rst index 956b9e8f959c..b3fac293ecc9 100644 --- a/Doc/library/types.rst +++ b/Doc/library/types.rst @@ -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