1 parent 64d0fee commit bf4fa9bCopy full SHA for bf4fa9b
1 file changed
Doc/c-api/exceptions.rst
@@ -346,7 +346,7 @@ in various ways. There is a separate error indicator for each thread.
346
use.
347
348
349
-.. c:function:: int PyErr_WarnEx(PyObject *category, char *message, int stack_level)
+.. c:function:: int PyErr_WarnEx(PyObject *category, const char *message, Py_ssize_t stack_level)
350
351
Issue a warning message. The *category* argument is a warning category (see
352
below) or *NULL*; the *message* argument is an UTF-8 encoded string. *stack_level* is a
0 commit comments