mirror of
https://github.com/python/cpython.git
synced 2026-01-28 13:45:18 +00:00
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.