summaryrefslogtreecommitdiff
path: root/Include/pyerrors.h
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2014-02-10 03:43:57 -0800
committerLarry Hastings <larry@hastings.org>2014-02-10 03:43:57 -0800
commit8f9f0f12e845034080525c6a80d52215533cb2a4 (patch)
treee582640185a4d455abc59b397503d5a029d66dce /Include/pyerrors.h
parent1c143b19c88021e323d4a88315efc8879b1c631d (diff)
downloadcpython-git-8f9f0f12e845034080525c6a80d52215533cb2a4.tar.gz
Issue #20517: Removed unnecessary new (short-lived) functions from PyErr.
Diffstat (limited to 'Include/pyerrors.h')
-rw-r--r--Include/pyerrors.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h
index f9959699dc..e44fb5f0eb 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 */