put PyImportErrorObject with its brothers
diff --git a/Include/pyerrors.h b/Include/pyerrors.h
index a550705..5aacf7a 100644
--- a/Include/pyerrors.h
+++ b/Include/pyerrors.h
@@ -28,6 +28,13 @@
typedef struct {
PyException_HEAD
+ PyObject *msg;
+ PyObject *name;
+ PyObject *path;
+} PyImportErrorObject;
+
+typedef struct {
+ PyException_HEAD
PyObject *encoding;
PyObject *object;
Py_ssize_t start;
@@ -231,13 +238,6 @@
...
);
-typedef struct {
- PyException_HEAD
- PyObject *msg;
- PyObject *name;
- PyObject *path;
-} PyImportErrorObject;
-
#ifdef MS_WINDOWS
PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithFilename(
int ierr,