]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Fix a typo in 'Exception Handling' C-API documentation (GH-150674)
authorManoj K M <manojkm24dev@gmail.com>
Tue, 2 Jun 2026 11:28:35 +0000 (16:58 +0530)
committerGitHub <noreply@github.com>
Tue, 2 Jun 2026 11:28:35 +0000 (12:28 +0100)
(cherry picked from commit cee3327b9264a653cdbd2f9bb1ffa74a95be66e9)

Doc/c-api/exceptions.rst

index 3a7fa0d1ff6edc1fa14bc091795e2dbd69fac3dc..575fbc14f33f2cc5599ede0f53dcf48fbca7e2a0 100644 (file)
@@ -412,7 +412,7 @@ an error value).
 
 .. c:function:: int PyErr_WarnFormat(PyObject *category, Py_ssize_t stack_level, const char *format, ...)
 
-   Function similar to :c:func:`PyErr_WarnEx`, but use
+   Function similar to :c:func:`PyErr_WarnEx`, but uses
    :c:func:`PyUnicode_FromFormat` to format the warning message.  *format* is
    an ASCII-encoded string.