summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-05-01 18:26:46 (GMT)
committerGitHub <noreply@github.com>2021-05-01 18:26:46 (GMT)
commit3519ac416df230d686fdec470352f25fcce4a54b (patch)
tree1c34774721f480e6d32479ff197b888179128b16 /Doc
parent6034c4aa58fe7257d39b53c77944393700c66396 (diff)
downloadcpython-3519ac416df230d686fdec470352f25fcce4a54b.zip
cpython-3519ac416df230d686fdec470352f25fcce4a54b.tar.gz
cpython-3519ac416df230d686fdec470352f25fcce4a54b.tar.bz2
Fixing doc for callback for lambda (GH-25779) (GH-25789)
Fixing callback for lambda when no return value is provided (cherry picked from commit 50c21ad35372983680b44130be560d856c5f27ca) Co-authored-by: Shreyash Sharma <shreyash.sharma@philips.com> Co-authored-by: Shreyash Sharma <shreyash.sharma@philips.com>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/types.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/types.rst b/Doc/library/types.rst
index 999a1f4..ef19031 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