]> granicus.if.org Git - python/commitdiff
Added externs for three new exceptions PyExc_StandardError,
authorBarry Warsaw <barry@python.org>
Fri, 29 Aug 1997 21:56:07 +0000 (21:56 +0000)
committerBarry Warsaw <barry@python.org>
Fri, 29 Aug 1997 21:56:07 +0000 (21:56 +0000)
PyExc_NumberError, and PyExc_LookupError.  Also added extern for
pre-instantiated exception instance PyExc_MemoryErrorInst.

Removed extern of obsolete exception PyExc_AccessError.

Include/pyerrors.h

index 45e8042f136d2bebecb3c56f4f8b3a519594cc0e..ece1f3fedbd4618bbfe21a9dd18ba6076f8f1c66 100644 (file)
@@ -53,7 +53,10 @@ void PyErr_NormalizeException Py_PROTO((PyObject**, PyObject**, PyObject**));
 
 /* Predefined exceptions */
 
-extern DL_IMPORT(PyObject *) PyExc_AccessError;
+extern DL_IMPORT(PyObject *) PyExc_StandardError;
+extern DL_IMPORT(PyObject *) PyExc_NumberError;
+extern DL_IMPORT(PyObject *) PyExc_LookupError;
+
 extern DL_IMPORT(PyObject *) PyExc_AssertionError;
 extern DL_IMPORT(PyObject *) PyExc_AttributeError;
 extern DL_IMPORT(PyObject *) PyExc_EOFError;
@@ -74,6 +77,9 @@ extern DL_IMPORT(PyObject *) PyExc_TypeError;
 extern DL_IMPORT(PyObject *) PyExc_ValueError;
 extern DL_IMPORT(PyObject *) PyExc_ZeroDivisionError;
 
+extern DL_IMPORT(PyObject *) PyExc_MemoryErrorInst;
+
+
 /* Convenience functions */
 
 extern int PyErr_BadArgument Py_PROTO((void));