summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorKarthikeyan Singaravelan <tir.karthi@gmail.com>2020-03-13 15:32:38 (GMT)
committerGitHub <noreply@github.com>2020-03-13 15:32:38 (GMT)
commitd3af92ecc2f41d920e9a66211e2ab631fc473163 (patch)
tree0a2ff66501bf5b466a2fea3b4cd1c1d36e538904 /Doc/c-api
parentf8ce3e2dae277baa2ef92e8a3e935953dc6c3f39 (diff)
downloadcpython-d3af92ecc2f41d920e9a66211e2ab631fc473163.zip
cpython-d3af92ecc2f41d920e9a66211e2ab631fc473163.tar.gz
cpython-d3af92ecc2f41d920e9a66211e2ab631fc473163.tar.bz2
[3.8] Doc: Fix grammar in PyErr_ResourceWarning (GH-18879) (GH-18976)
(cherry picked from commit fdcd53f) Co-authored-by: Daniel Hahler <git@thequod.de>
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/exceptions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst
index 7300c80..85a3d94 100644
--- a/Doc/c-api/exceptions.rst
+++ b/Doc/c-api/exceptions.rst
@@ -358,7 +358,7 @@ an error value).
.. c:function:: int PyErr_ResourceWarning(PyObject *source, Py_ssize_t stack_level, const char *format, ...)
Function similar to :c:func:`PyErr_WarnFormat`, but *category* is
- :exc:`ResourceWarning` and pass *source* to :func:`warnings.WarningMessage`.
+ :exc:`ResourceWarning` and it passes *source* to :func:`warnings.WarningMessage`.
.. versionadded:: 3.6