]> granicus.if.org Git - python/commitdiff
Issue #10780: Remove commas at the end of the argument list
authorVictor Stinner <victor.stinner@haypocalc.com>
Tue, 28 Dec 2010 00:59:03 +0000 (00:59 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Tue, 28 Dec 2010 00:59:03 +0000 (00:59 +0000)
Forbidden in C, stupid language!

Include/pyerrors.h

index 0f8bcf745fedc5e02b6ef3456d6c4430734da7ce..4bb3c01443ba9423e56c879bf75a7bee0ec879b4 100644 (file)
@@ -202,7 +202,7 @@ PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithFilenameObject(
     int, const char *);
 PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithFilename(
     int ierr,
-    const char *filename,       /* decoded from the filesystem encoding */
+    const char *filename        /* decoded from the filesystem encoding */
     );
 #ifndef Py_LIMITED_API
 /* XXX redeclare to use WSTRING */
@@ -215,7 +215,7 @@ PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithFilenameObject(
 PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithFilename(
     PyObject *exc,
     int ierr,
-    const char *filename,       /* decoded from the filesystem encoding */
+    const char *filename        /* decoded from the filesystem encoding */
     );
 #ifndef Py_LIMITED_API
 PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithUnicodeFilename(