0
0
mirror of https://github.com/python/cpython.git synced 2024-11-28 08:20:55 +01:00

ReferenceError is now built-in, so pick it up from the right place.

It still needs to be here to preserve the API.
This commit is contained in:
Fred Drake 2001-10-05 21:54:09 +00:00
parent 8844d5264f
commit e029242d5c

View 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",