From: Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి) Date: Thu, 16 Jan 2025 16:32:17 +0000 (+0530) Subject: Fix typo in doc (#128917) X-Git-Tag: v3.14.0a5~403 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=211f41316b7f205d18eb65c1ececd7f7fb30b02d;p=thirdparty%2FPython%2Fcpython.git Fix typo in doc (#128917) --- diff --git a/InternalDocs/generators.md b/InternalDocs/generators.md index 608bd215aae6..87fbb9123684 100644 --- a/InternalDocs/generators.md +++ b/InternalDocs/generators.md @@ -11,7 +11,7 @@ execution state. A generator object resumes execution in its frame when its `send()` method is called. This is analogous to a function executing in its own -fram when it is called, but a function returns to the calling frame only once, +frame when it is called, but a function returns to the calling frame only once, while a generator "returns" execution to the caller's frame every time it emits a new item with a [`yield` expression](https://docs.python.org/dev/reference/expressions.html#yield-expressions).