summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/weakref.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/weakref.py b/Lib/weakref.py
index 0cf6bf9..39ec330 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",