]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix `grammer` -> `grammar` typo in expressions.rst (GH-100683)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 2 Jan 2023 11:57:51 +0000 (03:57 -0800)
committerGitHub <noreply@github.com>
Mon, 2 Jan 2023 11:57:51 +0000 (03:57 -0800)
(cherry picked from commit 7feb6d2f85d69fbabfc0598d8947124883167f12)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Automerge-Triggered-By: GH:AlexWaygood
Doc/reference/expressions.rst

index 655d19969a5836695f1e498d0168c92c00a74abc..ea9db1824c705398a97c018d47b54d24120e7cff 100644 (file)
@@ -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.