summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKumar Aditya <59607654+kumaraditya303@users.noreply.github.com>2023-01-02 11:49:06 (GMT)
committerGitHub <noreply@github.com>2023-01-02 11:49:06 (GMT)
commit7feb6d2f85d69fbabfc0598d8947124883167f12 (patch)
tree3f983307c157844a63a116ca8a79496456700b2a
parent254ab42240e0b18caedd4d5c3f45440bdaebf157 (diff)
downloadcpython-7feb6d2f85d69fbabfc0598d8947124883167f12.zip
cpython-7feb6d2f85d69fbabfc0598d8947124883167f12.tar.gz
cpython-7feb6d2f85d69fbabfc0598d8947124883167f12.tar.bz2
fix `grammer` -> `grammar` typo in expressions.rst (GH-100683)
Automerge-Triggered-By: GH:AlexWaygood
-rw-r--r--Doc/reference/expressions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
index 6692e50..1e4a13f 100644
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -455,7 +455,7 @@ function. The execution starts when one of the generator's methods is called.
At that time, the execution proceeds to the first yield expression, where it is
suspended again, returning the value of :token:`~python-grammar:expression_list`
to the generator's caller,
-or ``None`` if :token:`~python-grammer:expression_list` is omitted.
+or ``None`` if :token:`~python-grammar:expression_list` is omitted.
By suspended, we mean that all local state is
retained, including the current bindings of local variables, the instruction
pointer, the internal evaluation stack, and the state of any exception handling.