diff options
author | Larry Hastings <larry@hastings.org> | 2014-02-10 11:43:57 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2014-02-10 11:43:57 (GMT) |
commit | 8f9f0f12e845034080525c6a80d52215533cb2a4 (patch) | |
tree | e582640185a4d455abc59b397503d5a029d66dce /Include/pyerrors.h | |
parent | 1c143b19c88021e323d4a88315efc8879b1c631d (diff) | |
download | cpython-8f9f0f12e845034080525c6a80d52215533cb2a4.zip cpython-8f9f0f12e845034080525c6a80d52215533cb2a4.tar.gz cpython-8f9f0f12e845034080525c6a80d52215533cb2a4.tar.bz2 |
Issue #20517: Removed unnecessary new (short-lived) functions from PyErr.
Diffstat (limited to 'Include/pyerrors.h')
-rw-r--r-- | Include/pyerrors.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h index f995969..e44fb5f 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -232,17 +232,9 @@ PyAPI_FUNC(PyObject *) PyErr_SetFromErrnoWithFilename( PyObject *exc, const char *filename /* decoded from the filesystem encoding */ ); -PyAPI_FUNC(PyObject *) PyErr_SetFromErrnoWithFilenames( - PyObject *exc, - /* decoded from the filesystem encoding */ - const char *filename, - const char *filename2 - ); #if defined(MS_WINDOWS) && !defined(Py_LIMITED_API) PyAPI_FUNC(PyObject *) PyErr_SetFromErrnoWithUnicodeFilename( PyObject *, const Py_UNICODE *); -PyAPI_FUNC(PyObject *) PyErr_SetFromErrnoWithUnicodeFilenames( - PyObject *, const Py_UNICODE *, const Py_UNICODE *); #endif /* MS_WINDOWS */ PyAPI_FUNC(PyObject *) PyErr_Format( @@ -256,18 +248,10 @@ PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithFilename( int ierr, const char *filename /* decoded from the filesystem encoding */ ); -PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithFilenames( - int ierr, - /* decoded from the filesystem encoding */ - const char *filename, - const char *filename2 - ); #ifndef Py_LIMITED_API /* XXX redeclare to use WSTRING */ PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithUnicodeFilename( int, const Py_UNICODE *); -PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithUnicodeFilenames( - int, const Py_UNICODE *, const Py_UNICODE *); #endif PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErr(int); PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithFilenameObject( @@ -279,18 +263,9 @@ PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithFilename( int ierr, const char *filename /* decoded from the filesystem encoding */ ); -PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithFilenames( - PyObject *exc, - int ierr, - /* decoded from the filesystem encoding */ - const char *filename, - const char *filename2 - ); #ifndef Py_LIMITED_API PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithUnicodeFilename( PyObject *,int, const Py_UNICODE *); -PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithUnicodeFilenames( - PyObject *,int, const Py_UNICODE *, const Py_UNICODE *); #endif PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErr(PyObject *, int); #endif /* MS_WINDOWS */ |