commit | 0d76dccc3b4376ba075a1737f58809e3d83aaaa3 | [log] [tgz] |
---|---|---|
author | Connor Denihan <188690869+cdenihan@users.noreply.github.com> | Thu Jun 26 13:27:25 2025 |
committer | GitHub <noreply@github.com> | Thu Jun 26 13:27:25 2025 |
tree | 2a32218dd8dc262dd4bb738e77864585981c0af4 | |
parent | fb9e292919d82326acea456aa071c9af6aff5626 [diff] |
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.