]> granicus.if.org Git - python/commitdiff
ReferenceError is now built-in, so pick it up from the right place.
authorFred Drake <fdrake@acm.org>
Fri, 5 Oct 2001 21:54:09 +0000 (21:54 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 5 Oct 2001 21:54:09 +0000 (21:54 +0000)
It still needs to be here to preserve the API.

Lib/weakref.py

index 0cf6bf9cc32f4e2e7e2f1f6a04a2b02a58258b44..39ec33049d2c08785afdb62ec62b399ac6d74777 100644 (file)
@@ -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",