summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/exceptions.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-06 10:58:36 (GMT)
committerGeorg Brandl <georg@python.org>2014-10-06 10:58:36 (GMT)
commitb65ff1d4f312c1e5c5ebee73470171731d3bbfff (patch)
tree5cdf9915e17f5c9e2cd248de286a9da94803b8d8 /Doc/c-api/exceptions.rst
parent9dedc638ec820e1e3c9f5223c2e47a7c5f74ccfb (diff)
parent97435166aa4cb65d5d18f82782700771682456d5 (diff)
downloadcpython-b65ff1d4f312c1e5c5ebee73470171731d3bbfff.zip
cpython-b65ff1d4f312c1e5c5ebee73470171731d3bbfff.tar.gz
cpython-b65ff1d4f312c1e5c5ebee73470171731d3bbfff.tar.bz2
merge with 3.4
Diffstat (limited to 'Doc/c-api/exceptions.rst')
-rw-r--r--Doc/c-api/exceptions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst
index d0d4906..8e70560 100644
--- a/Doc/c-api/exceptions.rst
+++ b/Doc/c-api/exceptions.rst
@@ -282,7 +282,7 @@ intentional.) If an exception is raised, the caller should do its normal
exception handling (for example, :c:func:`Py_DECREF` owned references and return
an error value).
-.. 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