Skip to content

Commit d3af92e

Browse files
tirkarthiblueyed
andauthored
[3.8] Doc: Fix grammar in PyErr_ResourceWarning (GH-18879) (GH-18976)
(cherry picked from commit fdcd53f) Co-authored-by: Daniel Hahler <[email protected]>
1 parent f8ce3e2 commit d3af92e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/exceptions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ an error value).
358358
.. c:function:: int PyErr_ResourceWarning(PyObject *source, Py_ssize_t stack_level, const char *format, ...)
359359
360360
Function similar to :c:func:`PyErr_WarnFormat`, but *category* is
361-
:exc:`ResourceWarning` and pass *source* to :func:`warnings.WarningMessage`.
361+
:exc:`ResourceWarning` and it passes *source* to :func:`warnings.WarningMessage`.
362362
363363
.. versionadded:: 3.6
364364

0 commit comments

Comments
 (0)