Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b9cb21e

Browse files
author
Victor Stinner
committed
Issue #10780: Remove commas at the end of the argument list
Forbidden in C, stupid language!
1 parent 301e956 commit b9cb21e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Include/pyerrors.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithFilenameObject(
202202
int, const char *);
203203
PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithFilename(
204204
int ierr,
205-
const char *filename, /* decoded from the filesystem encoding */
205+
const char *filename /* decoded from the filesystem encoding */
206206
);
207207
#ifndef Py_LIMITED_API
208208
/* XXX redeclare to use WSTRING */
@@ -215,7 +215,7 @@ PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithFilenameObject(
215215
PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithFilename(
216216
PyObject *exc,
217217
int ierr,
218-
const char *filename, /* decoded from the filesystem encoding */
218+
const char *filename /* decoded from the filesystem encoding */
219219
);
220220
#ifndef Py_LIMITED_API
221221
PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithUnicodeFilename(

0 commit comments

Comments
 (0)