diff options
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/exceptions.rst | 25 |
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 |