mirror of
https://github.com/python/cpython.git
synced 2026-01-26 12:55:08 +00:00
Fix typo in PyIter_Send docs (#140336)
This commit is contained in:
parent
9c18f75e7c
commit
3c2781dc5f
@ -54,6 +54,6 @@ There are two functions specifically for working with iterators.
|
||||
|
||||
- ``PYGEN_RETURN`` if iterator returns. Return value is returned via *presult*.
|
||||
- ``PYGEN_NEXT`` if iterator yields. Yielded value is returned via *presult*.
|
||||
- ``PYGEN_ERROR`` if iterator has raised and exception. *presult* is set to ``NULL``.
|
||||
- ``PYGEN_ERROR`` if iterator has raised an exception. *presult* is set to ``NULL``.
|
||||
|
||||
.. versionadded:: 3.10
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user