Skip to content

Commit 834a2eb

Browse files
[doc] Fix typo c-api/exceptions.rst (GH-27847) (GH-27919)
Co-authored-by: Tianqing Peng <[email protected]> (cherry picked from commit dcbf7ff) Co-authored-by: Sunny Bean <[email protected]>
1 parent 28de562 commit 834a2eb

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
@@ -100,7 +100,7 @@ For convenience, some of these functions will always return a
100100
This is the most common way to set the error indicator. The first argument
101101
specifies the exception type; it is normally one of the standard exceptions,
102102
e.g. :c:data:`PyExc_RuntimeError`. You need not increment its reference count.
103-
The second argument is an error message; it is decoded from ``'utf-8``'.
103+
The second argument is an error message; it is decoded from ``'utf-8'``.
104104
105105
106106
.. c:function:: void PyErr_SetObject(PyObject *type, PyObject *value)

0 commit comments

Comments
 (0)