From 3c2781dc5f2f400ab4cae79d63051365d15b22e4 Mon Sep 17 00:00:00 2001 From: Peter Holloway Date: Mon, 20 Oct 2025 09:53:57 +0100 Subject: [PATCH] Fix typo in PyIter_Send docs (#140336) --- Doc/c-api/iter.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/iter.rst b/Doc/c-api/iter.rst index bf9df62c6f17..6cfd24c5ae60 100644 --- a/Doc/c-api/iter.rst +++ b/Doc/c-api/iter.rst @@ -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 -- 2.47.3