summaryrefslogtreecommitdiff
path: root/Doc/glossary.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-05-22 01:07:28 -0700
committerGitHub <noreply@github.com>2018-05-22 01:07:28 -0700
commitd9055f8176deeba43506f080e31e9503f35fc3d2 (patch)
tree3868dec96ce3969bb612e158268182b5b39f92ec /Doc/glossary.rst
parent2b4ed5da1d599190c3be0084ee235b0a8f0a75ea (diff)
downloadcpython-git-d9055f8176deeba43506f080e31e9503f35fc3d2.tar.gz
Fix lambda parameters being refered as arguments (GH-7037)
(cherry picked from commit 268cc7c3f8f58075b42ff0cd6b6c6c5d76044895) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
Diffstat (limited to 'Doc/glossary.rst')
-rw-r--r--Doc/glossary.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 4b1722f5c0..66964692cc 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -603,7 +603,7 @@ Glossary
lambda
An anonymous inline function consisting of a single :term:`expression`
which is evaluated when the function is called. The syntax to create
- a lambda function is ``lambda [arguments]: expression``
+ a lambda function is ``lambda [parameters]: expression``
LBYL
Look before you leap. This coding style explicitly tests for