From: Fred Drake Date: Fri, 5 Oct 2001 21:54:09 +0000 (+0000) Subject: ReferenceError is now built-in, so pick it up from the right place. X-Git-Tag: v2.2.1c1~1433 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e029242d5cfb8a3879bdc7324db4449e6a8451cf;p=python ReferenceError is now built-in, so pick it up from the right place. It still needs to be here to preserve the API. --- diff --git a/Lib/weakref.py b/Lib/weakref.py index 0cf6bf9cc3..39ec33049d 100644 --- a/Lib/weakref.py +++ b/Lib/weakref.py @@ -16,11 +16,13 @@ from _weakref import \ getweakrefs, \ ref, \ proxy, \ - ReferenceError, \ CallableProxyType, \ ProxyType, \ ReferenceType +from exceptions import ReferenceError + + ProxyTypes = (ProxyType, CallableProxyType) __all__ = ["ref", "proxy", "getweakrefcount", "getweakrefs",