mirror of
https://github.com/python/cpython.git
synced 2026-05-08 05:32:01 -04:00
0d76dccc3b
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.