diff options
author | Daniel Hahler <git@thequod.de> | 2020-03-12 17:09:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-12 17:09:30 (GMT) |
commit | fdcd53fe1a8a7f052d7217c36b2597df06b6e016 (patch) | |
tree | e039d29080b8cb4fe3db40b727f9df3708a165f9 | |
parent | 3c29675d8736cb1860f342d872ae41e342c6d383 (diff) | |
download | cpython-fdcd53fe1a8a7f052d7217c36b2597df06b6e016.zip cpython-fdcd53fe1a8a7f052d7217c36b2597df06b6e016.tar.gz cpython-fdcd53fe1a8a7f052d7217c36b2597df06b6e016.tar.bz2 |
Doc: Fix grammar in PyErr_ResourceWarning (GH-18879)
-rw-r--r-- | Doc/c-api/exceptions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst index b717516..e7805ba 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 |