From cf356fd86530d0ea224a7a0c950058e8ba65f1a5 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 31 Jan 2003 20:34:07 +0000 Subject: Add extension management to __all__. --- Lib/copy_reg.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/copy_reg.py b/Lib/copy_reg.py index 1276564..cf801cb 100644 --- a/Lib/copy_reg.py +++ b/Lib/copy_reg.py @@ -6,7 +6,8 @@ C, not for instances of user-defined classes. from types import ClassType as _ClassType -__all__ = ["pickle","constructor"] +__all__ = ["pickle", "constructor", + "add_extension", "remove_extension", "clear_extension_cache"] dispatch_table = {} safe_constructors = {} -- cgit v0.12