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
1 changed files with 3 additions and 1 deletions

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