https://github.com/python/cpython/commit/65d5e0508dbf8b949699e7ac37fa92446a70745e
commit: 65d5e0508dbf8b949699e7ac37fa92446a70745e
branch: 3.14
author: Manoj K M <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-06-02T12:28:35+01:00
summary:

[3.14] Fix a typo in 'Exception Handling' C-API documentation (GH-150674)

(cherry picked from commit cee3327b9264a653cdbd2f9bb1ffa74a95be66e9)

files:
M Doc/c-api/exceptions.rst

diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst
index 3a7fa0d1ff6edc1..575fbc14f33f2cc 100644
--- a/Doc/c-api/exceptions.rst
+++ b/Doc/c-api/exceptions.rst
@@ -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.
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to