completed the __all__ list and changed the module doctest

This commit is contained in:
Tarek Ziadé 2010-02-23 05:36:41 +00:00
parent 1e069eeab7
commit 2900c4413b
1 changed files with 5 additions and 4 deletions

View File

@ -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