summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-05 21:50:08 (GMT)
committerFred Drake <fdrake@acm.org>2001-10-05 21:50:08 (GMT)
commitbb9fa21cfe7a8343698ce5e26e845b4e0c877d6a (patch)
tree9229be0a614d194fa49a58acdaf9cdee29e47778 /Include
parent39c785108f1acddb70930edf023825f935aa640e (diff)
downloadcpython-bb9fa21cfe7a8343698ce5e26e845b4e0c877d6a.zip
cpython-bb9fa21cfe7a8343698ce5e26e845b4e0c877d6a.tar.gz
cpython-bb9fa21cfe7a8343698ce5e26e845b4e0c877d6a.tar.bz2
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.
Diffstat (limited to 'Include')
-rw-r--r--Include/pyerrors.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h
index d7b7639..c3960b7 100644
--- a/Include/pyerrors.h
+++ b/Include/pyerrors.h
@@ -48,6 +48,7 @@ extern DL_IMPORT(PyObject *) PyExc_NotImplementedError;
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;