From: Serhiy Storchaka Date: Sun, 21 Jun 2015 14:12:16 +0000 (+0300) Subject: Fixed documentation of functions with const char* arguments. X-Git-Tag: v3.5.0b3~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cd881b850c95cdb410620f3acc6ebf37e5467192;p=python Fixed documentation of functions with const char* arguments. --- cd881b850c95cdb410620f3acc6ebf37e5467192 diff --cc Doc/c-api/exceptions.rst index a3b9cb4465,c2df767998..6ae723b8d9 --- a/Doc/c-api/exceptions.rst +++ b/Doc/c-api/exceptions.rst @@@ -509,14 -450,8 +509,14 @@@ Signal Handlin error checking. *fd* should be a valid file descriptor. The function should only be called from the main thread. + .. versionchanged:: 3.5 + On Windows, the function now also supports socket handles. + + +Exception Classes +================= - .. c:function:: PyObject* PyErr_NewException(char *name, PyObject *base, PyObject *dict) + .. c:function:: PyObject* PyErr_NewException(const char *name, PyObject *base, PyObject *dict) This utility function creates and returns a new exception class. The *name* argument must be the name of the new exception, a C string of the form