mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00: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
1 changed files with 3 additions and 1 deletions
|
|
@ -16,11 +16,13 @@
|
|||
getweakrefs, \
|
||||
ref, \
|
||||
proxy, \
|
||||
ReferenceError, \
|
||||
CallableProxyType, \
|
||||
ProxyType, \
|
||||
ReferenceType
|
||||
|
||||
from exceptions import ReferenceError
|
||||
|
||||
|
||||
ProxyTypes = (ProxyType, CallableProxyType)
|
||||
|
||||
__all__ = ["ref", "proxy", "getweakrefcount", "getweakrefs",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue