diff options
| author | Tarek Ziadé <ziade.tarek@gmail.com> | 2010-02-23 05:36:41 (GMT) |
|---|---|---|
| committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2010-02-23 05:36:41 (GMT) |
| commit | 2900c4413b13c81d2974cbe9898edcf4c417a1f6 (patch) | |
| tree | db42b9cb06a3ed5bd0aab7088102c5e2775e3206 /Lib/shutil.py | |
| parent | 1e069eeab728e142120d223d443bac0e8e213dca (diff) | |
| download | cpython-2900c4413b13c81d2974cbe9898edcf4c417a1f6.zip cpython-2900c4413b13c81d2974cbe9898edcf4c417a1f6.tar.gz cpython-2900c4413b13c81d2974cbe9898edcf4c417a1f6.tar.bz2 | |
completed the __all__ list and changed the module doctest
Diffstat (limited to 'Lib/shutil.py')
| -rw-r--r-- | Lib/shutil.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Lib/shutil.py b/Lib/shutil.py index ebed140..0cc9262 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 |
