diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-08-23 20:09:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-23 20:09:52 (GMT) |
commit | 834a2eb94517f9090b8c77feb968a4b95aa852b9 (patch) | |
tree | cbe82b56f8f195e89094f51907bcea76e8a4dfcf /Doc/c-api | |
parent | 28de5622abeadbf55a297b60199c068ee7ec0f63 (diff) | |
download | cpython-834a2eb94517f9090b8c77feb968a4b95aa852b9.zip cpython-834a2eb94517f9090b8c77feb968a4b95aa852b9.tar.gz cpython-834a2eb94517f9090b8c77feb968a4b95aa852b9.tar.bz2 |
[doc] Fix typo c-api/exceptions.rst (GH-27847) (GH-27919)
Co-authored-by: Tianqing Peng <pengtianqing@yimian.com.cn>
(cherry picked from commit dcbf7ff6a700b63e637a0445d68866670a398024)
Co-authored-by: Sunny Bean <ptq008@gmail.com>
Diffstat (limited to 'Doc/c-api')
-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 247b6d6..614eb24 100644 --- a/Doc/c-api/exceptions.rst +++ b/Doc/c-api/exceptions.rst @@ -100,7 +100,7 @@ For convenience, some of these functions will always return a This is the most common way to set the error indicator. The first argument specifies the exception type; it is normally one of the standard exceptions, e.g. :c:data:`PyExc_RuntimeError`. You need not increment its reference count. - The second argument is an error message; it is decoded from ``'utf-8``'. + The second argument is an error message; it is decoded from ``'utf-8'``. .. c:function:: void PyErr_SetObject(PyObject *type, PyObject *value) |