summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-12-28 00:59:03 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-12-28 00:59:03 (GMT)
commitb9cb21efc86dbf4e4264288ac6d0cb27861a32ce (patch)
treef4fb22340fa9fb9b3078c3b2ba5e13703db4dc14
parent301e95668621c14218564762d4bc22f103ad2e43 (diff)
downloadcpython-b9cb21efc86dbf4e4264288ac6d0cb27861a32ce.zip
cpython-b9cb21efc86dbf4e4264288ac6d0cb27861a32ce.tar.gz
cpython-b9cb21efc86dbf4e4264288ac6d0cb27861a32ce.tar.bz2
Issue #10780: Remove commas at the end of the argument list
Forbidden in C, stupid language!
-rw-r--r--Include/pyerrors.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h
index 0f8bcf7..4bb3c01 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(