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:
parent
8844d5264f
commit
e029242d5c
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue