diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-04-13 01:50:35 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-04-13 01:50:35 (GMT) |
commit | 633b32a7fa7ba57dbb3d7fd6fbda00595cc135c8 (patch) | |
tree | 60882e1d1047b627eeeabc84645dd850da83d5d4 /Include | |
parent | 15af26fa9247a5f61bc992004d17f86f10464567 (diff) | |
download | cpython-633b32a7fa7ba57dbb3d7fd6fbda00595cc135c8.zip cpython-633b32a7fa7ba57dbb3d7fd6fbda00595cc135c8.tar.gz cpython-633b32a7fa7ba57dbb3d7fd6fbda00595cc135c8.tar.bz2 |
put PyImportErrorObject with its brothers
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pyerrors.h | 14 |
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, |