We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe86c40 commit 941816aCopy full SHA for 941816a
Doc/reference/expressions.rst
@@ -625,8 +625,8 @@ is already executing raises a :exc:`ValueError` exception.
625
626
.. method:: generator.close()
627
628
- Raises a :exc:`GeneratorExit` exception at the point where the generator
629
- function was paused (equivalent to calling ``throw(GeneratorExit)``).
+ Raises a :exc:`GeneratorExit` exception at the point where the generator
+ function was paused (equivalent to calling ``throw(GeneratorExit)``).
630
The exception is raised by the yield expression where the generator was paused.
631
If the generator function catches the exception and returns a
632
value, this value is returned from :meth:`close`. If the generator function
0 commit comments