cpython/Misc/NEWS.d/next/Core and Builtins/2023-05-23-00-36-02.gh-issu...

3 lines
104 B
ReStructuredText

If a generator returns a value upon being closed, the value is now returned
by :meth:`generator.close`.