Commit bf4fa9b2 authored by Georg Brandl's avatar Georg Brandl

Closes #22565: fix argument types of PyErr_WarnEx.

parent 64d0feeb
......@@ -346,7 +346,7 @@ in various ways. There is a separate error indicator for each thread.
use.
.. 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)
Issue a warning message. The *category* argument is a warning category (see
below) or *NULL*; the *message* argument is an UTF-8 encoded string. *stack_level* is a
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment