[Python-checkins] CVS: python/dist/src/Lib weakref.py,1.13,1.14
Fred L. Drake
fdrake@users.sourceforge.net
Fri, 05 Oct 2001 14:54:11 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv25875/Lib
Modified Files:
weakref.py
Log Message:
ReferenceError is now built-in, so pick it up from the right place.
It still needs to be here to preserve the API.
Index: weakref.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/weakref.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** weakref.py 2001/09/28 19:01:26 1.13
--- weakref.py 2001/10/05 21:54:09 1.14
***************
*** 17,24 ****
ref, \
proxy, \
- ReferenceError, \
CallableProxyType, \
ProxyType, \
ReferenceType
ProxyTypes = (ProxyType, CallableProxyType)
--- 17,26 ----
ref, \
proxy, \
CallableProxyType, \
ProxyType, \
ReferenceType
+
+ from exceptions import ReferenceError
+
ProxyTypes = (ProxyType, CallableProxyType)