From: Benjamin Peterson Date: Fri, 13 Apr 2012 01:50:35 +0000 (-0400) Subject: put PyImportErrorObject with its brothers X-Git-Tag: v3.3.0a3~242 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=633b32a7fa7ba57dbb3d7fd6fbda00595cc135c8;p=python put PyImportErrorObject with its brothers --- diff --git a/Include/pyerrors.h b/Include/pyerrors.h index a5507059c5..5aacf7ac8a 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -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,