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:
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
Block a user