summaryrefslogtreecommitdiffstats
path: root/Include/pyerrors.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/pyerrors.h')
-rw-r--r--Include/pyerrors.h14
1 files changed, 7 insertions, 7 deletions
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 {
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,