Fix typo in PyIter_Send docs (#140336)

This commit is contained in:
Peter Holloway 2025-10-20 09:53:57 +01:00 committed by GitHub
parent 9c18f75e7c
commit 3c2781dc5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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