Skip to content

Commit

Permalink
[doc] Fix typo c-api/exceptions.rst (GH-27847) (GH-27919)
Browse files Browse the repository at this point in the history
Co-authored-by: Tianqing Peng <pengtianqing@yimian.com.cn>
(cherry picked from commit dcbf7ff)

Co-authored-by: Sunny Bean <ptq008@gmail.com>
  • Loading branch information
miss-islington and ajfg93 committed Aug 23, 2021
1 parent 28de562 commit 834a2eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/c-api/exceptions.rst
Expand Up @@ -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)
Expand Down

0 comments on commit 834a2eb

Please sign in to comment.