mirror of
https://github.com/python/cpython.git
synced 2024-11-26 11:24:40 +08:00
Add extension management to __all__.
This commit is contained in:
parent
7eff63abce
commit
cf356fd865
@ -6,7 +6,8 @@ C, not for instances of user-defined classes.
|
|||||||
|
|
||||||
from types import ClassType as _ClassType
|
from types import ClassType as _ClassType
|
||||||
|
|
||||||
__all__ = ["pickle","constructor"]
|
__all__ = ["pickle", "constructor",
|
||||||
|
"add_extension", "remove_extension", "clear_extension_cache"]
|
||||||
|
|
||||||
dispatch_table = {}
|
dispatch_table = {}
|
||||||
safe_constructors = {}
|
safe_constructors = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user