[Python-checkins] r87521 - python/branches/py3k/Include/pyerrors.h

victor.stinner python-checkins at python.org
Tue Dec 28 01:59:03 CET 2010


Author: victor.stinner
Date: Tue Dec 28 01:59:03 2010
New Revision: 87521

Log:
Issue #10780: Remove commas at the end of the argument list

Forbidden in C, stupid language!

Modified:
   python/branches/py3k/Include/pyerrors.h

Modified: python/branches/py3k/Include/pyerrors.h
==============================================================================
--- python/branches/py3k/Include/pyerrors.h	(original)
+++ python/branches/py3k/Include/pyerrors.h	Tue Dec 28 01:59:03 2010
@@ -202,7 +202,7 @@
     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_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(


More information about the Python-checkins mailing list