]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Closes #11210: Remove PyErr_SetFromWindowsErrWithFilenameObject() of pyerrors.h
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 21 Mar 2011 00:58:55 +0000 (01:58 +0100)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 21 Mar 2011 00:58:55 +0000 (01:58 +0100)
PyErr_SetFromWindowsErrWithFilenameObject() was never implemented.

Include/pyerrors.h

index edc8218a53c5477e6bf10195e1904719404953df..8b6322b2a65d636e28f1433d5cdc1caf22bd1ddf 100644 (file)
@@ -208,8 +208,6 @@ PyAPI_FUNC(PyObject *) PyErr_Format(
     );
 
 #ifdef MS_WINDOWS
-PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithFilenameObject(
-    int, const char *);
 PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithFilename(
     int ierr,
     const char *filename        /* decoded from the filesystem encoding */