aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/executor_cases.c.h
diff options
context:
space:
mode:
authorConnor Denihan <188690869+cdenihan@users.noreply.github.com>2025-06-26 09:27:25 -0400
committerGitHub <noreply@github.com>2025-06-26 09:27:25 -0400
commit0d76dccc3b4376ba075a1737f58809e3d83aaaa3 (patch)
tree2a32218dd8dc262dd4bb738e77864585981c0af4 /Python/executor_cases.c.h
parentfb9e292919d82326acea456aa071c9af6aff5626 (diff)
downloadcpython-0d76dccc3b4376ba075a1737f58809e3d83aaaa3.tar.gz
cpython-0d76dccc3b4376ba075a1737f58809e3d83aaaa3.zip
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.
Diffstat (limited to 'Python/executor_cases.c.h')
0 files changed, 0 insertions, 0 deletions