]> granicus.if.org Git - python/commitdiff
Fixed documentation of functions with const char* arguments.
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 21 Jun 2015 14:12:16 +0000 (17:12 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 21 Jun 2015 14:12:16 +0000 (17:12 +0300)
1  2 
Doc/c-api/exceptions.rst
Doc/c-api/import.rst
Doc/c-api/init.rst
Doc/c-api/sys.rst
Doc/c-api/unicode.rst
Doc/extending/extending.rst

index a3b9cb44652be68256ee88b90037bde4513e22fe,c2df767998e95e290f65e8c1b5bd255e2a6ee0e9..6ae723b8d9c0ccbb1a4985dd2aeec8ed10656d15
@@@ -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
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge