mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Issue #10780: Remove commas at the end of the argument list
Forbidden in C, stupid language!
This commit is contained in:
parent
301e956686
commit
b9cb21efc8
1 changed files with 2 additions and 2 deletions
|
@ -202,7 +202,7 @@ PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithFilenameObject(
|
||||||
int, const char *);
|
int, const char *);
|
||||||
PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithFilename(
|
PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithFilename(
|
||||||
int ierr,
|
int ierr,
|
||||||
const char *filename, /* decoded from the filesystem encoding */
|
const char *filename /* decoded from the filesystem encoding */
|
||||||
);
|
);
|
||||||
#ifndef Py_LIMITED_API
|
#ifndef Py_LIMITED_API
|
||||||
/* XXX redeclare to use WSTRING */
|
/* XXX redeclare to use WSTRING */
|
||||||
|
@ -215,7 +215,7 @@ PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithFilenameObject(
|
||||||
PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithFilename(
|
PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithFilename(
|
||||||
PyObject *exc,
|
PyObject *exc,
|
||||||
int ierr,
|
int ierr,
|
||||||
const char *filename, /* decoded from the filesystem encoding */
|
const char *filename /* decoded from the filesystem encoding */
|
||||||
);
|
);
|
||||||
#ifndef Py_LIMITED_API
|
#ifndef Py_LIMITED_API
|
||||||
PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithUnicodeFilename(
|
PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithUnicodeFilename(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue