diff --git a/Include/weakrefobject.h b/Include/weakrefobject.h index 3886ea5d48b..6ead22b5157 100644 --- a/Include/weakrefobject.h +++ b/Include/weakrefobject.h @@ -22,8 +22,6 @@ extern DL_IMPORT(PyTypeObject) _PyWeakref_RefType; extern DL_IMPORT(PyTypeObject) _PyWeakref_ProxyType; extern DL_IMPORT(PyTypeObject) _PyWeakref_CallableProxyType; -extern DL_IMPORT(PyObject *) PyErr_ReferenceError; - #define PyWeakref_CheckRef(op) \ ((op)->ob_type == &_PyWeakref_RefType) #define PyWeakref_CheckProxy(op) \