From: Guido van Rossum Date: Fri, 31 Jan 2003 20:34:07 +0000 (+0000) Subject: Add extension management to __all__. X-Git-Tag: v2.3c1~2146 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf356fd86530d0ea224a7a0c950058e8ba65f1a5;p=thirdparty%2FPython%2Fcpython.git Add extension management to __all__. --- diff --git a/Lib/copy_reg.py b/Lib/copy_reg.py index 1276564b326c..cf801cb584d7 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 = {}