From: Victor Stinner Date: Tue, 28 Dec 2010 00:59:03 +0000 (+0000) Subject: Issue #10780: Remove commas at the end of the argument list X-Git-Tag: v3.2rc1~319 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b9cb21efc86dbf4e4264288ac6d0cb27861a32ce;p=thirdparty%2FPython%2Fcpython.git Issue #10780: Remove commas at the end of the argument list Forbidden in C, stupid language! --- diff --git a/Include/pyerrors.h b/Include/pyerrors.h index 0f8bcf745fed..4bb3c01443ba 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -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(