diff Include/pyerrors.h @ 20279:8b3ea7335c1b legacy-trunk

weakref.ReferenceError becomes a built-in exception now that weak ref objects are moving into the core; with these changes, it will be possible for the exception to be raised without the weakref module ever being imported.
author Fred Drake <fdrake@acm.org>
date Fri, 05 Oct 2001 21:50:08 +0000
parents 5d81c6bff306
children 3d299b156511
line wrap: on
line diff
--- a/Include/pyerrors.h	Fri Oct 05 21:22:21 2001 +0000
+++ b/Include/pyerrors.h	Fri Oct 05 21:50:08 2001 +0000
@@ -48,6 +48,7 @@
 extern DL_IMPORT(PyObject *) PyExc_SyntaxError;
 extern DL_IMPORT(PyObject *) PyExc_IndentationError;
 extern DL_IMPORT(PyObject *) PyExc_TabError;
+extern DL_IMPORT(PyObject *) PyExc_ReferenceError;
 extern DL_IMPORT(PyObject *) PyExc_SystemError;
 extern DL_IMPORT(PyObject *) PyExc_SystemExit;
 extern DL_IMPORT(PyObject *) PyExc_TypeError;