From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 1 May 2021 19:55:46 +0000 (-0700) Subject: Fixing doc for callback for lambda (GG-25779) (GH-25788) X-Git-Tag: v3.9.5~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5c018db4673aceab69dccb3e68579bbb8756164f;p=thirdparty%2FPython%2Fcpython.git Fixing doc for callback for lambda (GG-25779) (GH-25788) Fixing callback for lambda when no return value is provided (cherry picked from commit 50c21ad35372983680b44130be560d856c5f27ca) Co-authored-by: Shreyash Sharma Co-authored-by: Shreyash Sharma --- diff --git a/Doc/library/types.rst b/Doc/library/types.rst index d1099cf2af08..83e2cb4cbddb 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