gh-118473: Fix set_asyncgen_hooks not to be partially set when arguments are invalid (#118474)

This commit is contained in:
Jeong, YunWon 2024-05-07 09:02:52 +09:00 • committed by GitHub
parent e272195b3e
commit 8d8275b0cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 36 additions and 9 deletions

View file

@ -0,0 +1 @@
Fix :func:`sys.set_asyncgen_hooks` not to be partially set when raising :exc:`TypeError`.