Commit 633b32a7 authored by Benjamin Peterson's avatar Benjamin Peterson

put PyImportErrorObject with its brothers

parent 15af26fa
......@@ -26,6 +26,13 @@ typedef struct {
PyObject *print_file_and_line;
} PySyntaxErrorObject;
typedef struct {
PyException_HEAD
PyObject *msg;
PyObject *name;
PyObject *path;
} PyImportErrorObject;
typedef struct {
PyException_HEAD
PyObject *encoding;
......@@ -231,13 +238,6 @@ PyAPI_FUNC(PyObject *) PyErr_Format(
...
);
typedef struct {
PyException_HEAD
PyObject *msg;
PyObject *name;
PyObject *path;
} PyImportErrorObject;
#ifdef MS_WINDOWS
PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithFilename(
int ierr,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment