[Python-checkins] fix `grammer` -> `grammar` typo in expressions.rst (GH-100683)

miss-islington webhook-mailer at python.org
Mon Jan 2 06:57:28 EST 2023


https://github.com/python/cpython/commit/a63949374bbccc2b57eb62dd559a3f835956f901
commit: a63949374bbccc2b57eb62dd559a3f835956f901
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2023-01-02T03:57:22-08:00
summary:

fix `grammer` -> `grammar` typo in expressions.rst (GH-100683)


(cherry picked from commit 7feb6d2f85d69fbabfc0598d8947124883167f12)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303 at users.noreply.github.com>
Automerge-Triggered-By: GH:AlexWaygood

files:
M Doc/reference/expressions.rst

diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
index 21cca5bfc5d5..447fbc2a88f8 100644
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -450,7 +450,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.



More information about the Python-checkins mailing list