summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
Diffstat (limited to 'Include')
-rw-r--r--Include/pyerrors.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h
index a5507059c5..5aacf7ac8a 100644
--- a/Include/pyerrors.h
+++ b/Include/pyerrors.h
@@ -28,6 +28,13 @@ typedef struct {
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 @@ 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,