Mercurial > cpython-lru_cache-weakref
diff Include/pyerrors.h @ 67165:53209d00d3ab
Issue #10780: Remove commas at the end of the argument list
Forbidden in C, stupid language!
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Tue, 28 Dec 2010 00:59:03 +0000 |
| parents | 5605f6920b63 |
| children | 3c9232a684ae e2f96bd29252 |
line wrap: on
line diff
--- a/Include/pyerrors.h Tue Dec 28 00:59:02 2010 +0000 +++ b/Include/pyerrors.h Tue Dec 28 00:59:03 2010 +0000 @@ -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(
