From: Peter Holloway Date: Mon, 20 Oct 2025 08:53:57 +0000 (+0100) Subject: Fix typo in PyIter_Send docs (#140336) X-Git-Tag: v3.15.0a2~388 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c2781dc5f2f400ab4cae79d63051365d15b22e4;p=thirdparty%2FPython%2Fcpython.git Fix typo in PyIter_Send docs (#140336) --- 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