From: Tarek Ziadé Date: Tue, 23 Feb 2010 05:36:41 +0000 (+0000) Subject: completed the __all__ list and changed the module doctest X-Git-Tag: v2.7a4~135 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2900c4413b13c81d2974cbe9898edcf4c417a1f6;p=python completed the __all__ list and changed the module doctest --- diff --git a/Lib/shutil.py b/Lib/shutil.py index ebed14003b..0cc9262cd3 100644 --- a/Lib/shutil.py +++ b/Lib/shutil.py @@ -1,4 +1,4 @@ -"""Utility functions for copying files and directory trees. +"""Utility functions for copying and archiving files and directory trees. XXX The functions here don't copy the resource fork or other metadata on Mac. @@ -21,9 +21,10 @@ try: except ImportError: getgrnam = None -__all__ = ["copyfileobj","copyfile","copymode","copystat","copy","copy2", - "copytree","move","rmtree","Error", "SpecialFileError", - "ExecError","make_archive"] +__all__ = ["copyfileobj", "copyfile", "copymode", "copystat", "copy", "copy2", + "copytree", "move", "rmtree", "Error", "SpecialFileError", + "ExecError", "make_archive", "get_archive_formats", + "register_archive_format", "unregister_archive_format"] class Error(EnvironmentError): pass