We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad40d05 commit 3d3f582Copy full SHA for 3d3f582
Doc/c-api/exceptions.rst
@@ -282,9 +282,10 @@ is a separate error indicator for each thread.
282
283
.. cfunction:: void PyErr_BadInternalCall()
284
285
- This is a shorthand for ``PyErr_SetString(PyExc_TypeError, message)``, where
286
- *message* indicates that an internal operation (e.g. a Python/C API function)
287
- was invoked with an illegal argument. It is mostly for internal use.
+ This is a shorthand for ``PyErr_SetString(PyExc_SystemError, message)``,
+ where *message* indicates that an internal operation (e.g. a Python/C API
+ function) was invoked with an illegal argument. It is mostly for internal
288
+ use.
289
290
291
.. cfunction:: int PyErr_WarnEx(PyObject *category, char *message, int stacklevel)
0 commit comments