Skip to content

Update return type of Generator.close in 3.13 #13127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 26, 2024

Conversation

brianschubert
Copy link
Contributor

@brianschubert brianschubert commented Nov 26, 2024

Fixes #13128

In Python 3.13, Generator.close can return a value (python/cpython#104770).

This comment has been minimized.

Co-authored-by: Jelle Zijlstra <[email protected]>
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@JelleZijlstra JelleZijlstra merged commit 693add9 into python:main Nov 26, 2024
63 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for Python 3.13.0 generator.close() return value (Python issue #104770)
2 participants