From 34760e3f72c3bbb89fd27acbd39ca01397fcc0db Mon Sep 17 00:00:00 2001 From: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Date: Mon, 2 Jan 2023 17:10:22 +0530 Subject: [PATCH] fix typo --- Doc/reference/expressions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index 6692e50c4ff4fa..1e4a13fbd6a3ce 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.