cpython/Doc/reference
Miss Islington (bot) ad6c90f5ba
Some checks are pending
Tests / (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Cross build Linux (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
[3.14] gh-135110: Fix misleading generator.close() documentation (GH-135152) (GH-135985)
gh-135110: Fix misleading `generator.close()` documentation (GH-135152)

The documentation incorrectly stated that generator.close() 'raises' a
GeneratorExit exception. This was misleading because the method doesn't
raise the exception to the caller - it sends the exception internally
to the generator and returns None.
(cherry picked from commit 0d76dccc3b)

Co-authored-by: Connor Denihan <188690869+cdenihan@users.noreply.github.com>
2025-06-26 13:34:33 +00:00
..
compound_stmts.rst [3.14] gh-134026: Fix grammar description of for statement (GH-134034) (GH-134424) 2025-05-21 18:43:07 +02:00
datamodel.rst [3.14] gh-135676: lexical analysis: Improve section on Numeric literals (GH-134850) (GH-135677) 2025-06-18 14:40:28 +00:00
executionmodel.rst gh-70870: Clarify dual usage of 'free variable' (#122545) 2024-10-08 07:52:12 +00:00
expressions.rst [3.14] gh-135110: Fix misleading generator.close() documentation (GH-135152) (GH-135985) 2025-06-26 13:34:33 +00:00
grammar.rst [3.14] gh-127833: Reword and expand the Notation section (GH-134443) (GH-135301) 2025-06-09 13:56:24 +00:00
import.rst Doc: update term "namespace package" (#129251) 2025-02-14 13:47:54 -05:00
index.rst Merge from 3.2: remove unneeded "Release" and "Date" markers from index pages. 2012-10-28 11:10:24 -07:00
introduction.rst [3.14] gh-127833: Reword and expand the Notation section (GH-134443) (GH-135301) 2025-06-09 13:56:24 +00:00
lexical_analysis.rst [3.14] gh-135676: lexical analysis: Improve section on Numeric literals (GH-134850) (GH-135677) 2025-06-18 14:40:28 +00:00
simple_stmts.rst Docs: Miscellaneous corrections to simple statements in the language reference (GH-126720) 2024-11-15 13:02:34 -08:00
toplevel_components.rst gh-130587: Add hand-written docs for non-OP tokens (GH-130588) 2025-03-19 16:42:11 +01:00