summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2014-02-10 11:43:57 (GMT)
committerLarry Hastings <larry@hastings.org>2014-02-10 11:43:57 (GMT)
commit8f9f0f12e845034080525c6a80d52215533cb2a4 (patch)
treee582640185a4d455abc59b397503d5a029d66dce /Doc/c-api
parent1c143b19c88021e323d4a88315efc8879b1c631d (diff)
downloadcpython-8f9f0f12e845034080525c6a80d52215533cb2a4.zip
cpython-8f9f0f12e845034080525c6a80d52215533cb2a4.tar.gz
cpython-8f9f0f12e845034080525c6a80d52215533cb2a4.tar.bz2
Issue #20517: Removed unnecessary new (short-lived) functions from PyErr.
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/exceptions.rst25
1 files changed, 0 insertions, 25 deletions
diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst
index 070dd17..989166f 100644
--- a/Doc/c-api/exceptions.rst
+++ b/Doc/c-api/exceptions.rst
@@ -257,14 +257,6 @@ in various ways. There is a separate error indicator for each thread.
(:func:`os.fsdecode`).
-.. c:function:: PyObject* PyErr_SetFromErrnoWithFilenames(PyObject *type, const char *filename, const char *filename2)
-
- Similar to :c:func:`PyErr_SetFromErrnoWithFilename`, but accepts a
- second filename.
-
-.. versionadded:: 3.4
-
-
.. c:function:: PyObject* PyErr_SetFromWindowsErr(int ierr)
This is a convenience function to raise :exc:`WindowsError`. If called with
@@ -290,14 +282,6 @@ in various ways. There is a separate error indicator for each thread.
encoding (:func:`os.fsdecode`). Availability: Windows.
-.. c:function:: PyObject* PyErr_SetFromWindowsErrWithFilenames(int ierr, const char *filename, const char *filename2)
-
- Similar to :c:func:`PyErr_SetFromWindowsErrWithFilename`, but accepts
- a second filename. Availability: Windows.
-
-.. versionadded:: 3.4
-
-
.. c:function:: PyObject* PyErr_SetExcFromWindowsErrWithFilenameObject(PyObject *type, int ierr, PyObject *filename)
Similar to :c:func:`PyErr_SetFromWindowsErrWithFilenameObject`, with an
@@ -320,15 +304,6 @@ in various ways. There is a separate error indicator for each thread.
parameter specifying the exception type to be raised. Availability: Windows.
-.. c:function:: PyObject* PyErr_SetExcFromWindowsErrWithFilenames(PyObject *type, int ierr, const char *filename, const char *filename2)
-
- Similar to :c:func:`PyErr_SetExcFromWindowsErrWithFilename`,
- but accepts a second filename object.
- Availability: Windows.
-
-.. versionadded:: 3.4
-
-
.. c:function:: PyObject* PyErr_SetImportError(PyObject *msg, PyObject *name, PyObject *path)
This is a convenience function to raise :exc:`ImportError`. *msg* will be