8000 Doc: Fix grammar in PyErr_ResourceWarning (GH-18879) · python/cpython@fdcd53f · GitHub
[go: up one dir, main page]

Skip to content

Commit fdcd53f

Browse files
authored
Doc: Fix grammar in PyErr_ResourceWarning (GH-18879)
1 parent 3c29675 commit fdcd53f

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)
0