Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dcbf7ff

Browse files
ajfg93Tianqing Peng
andauthored
[doc] Fix typo c-api/exceptions.rst (GH-27847)
Co-authored-by: Tianqing Peng <[email protected]>
1 parent 7b550df commit dcbf7ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)