summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Andrea <william.j.andrea@gmail.com>2023-12-01 08:41:11 (GMT)
committerGitHub <noreply@github.com>2023-12-01 08:41:11 (GMT)
commitf6afa426d8e84d9bac0f7caaf11ea47759b8389c (patch)
tree3017f90e9905834cf0b3d7ab4d9745311ece2181
parente44f1940bd6d2ba4a3f8ac4585b3cf4f9cb93e49 (diff)
downloadcpython-f6afa426d8e84d9bac0f7caaf11ea47759b8389c.zip
cpython-f6afa426d8e84d9bac0f7caaf11ea47759b8389c.tar.gz
cpython-f6afa426d8e84d9bac0f7caaf11ea47759b8389c.tar.bz2
Add links under "generator expression" in glossary (#112537)
-rw-r--r--Doc/glossary.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 6b517b9..29f2f80 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -502,7 +502,7 @@ Glossary
.. index:: single: generator expression
generator expression
- An expression that returns an iterator. It looks like a normal expression
+ An :term:`expression` that returns an :term:`iterator`. It looks like a normal expression
followed by a :keyword:`!for` clause defining a loop variable, range,
and an optional :keyword:`!if` clause. The combined expression
generates values for an enclosing function::