diff options
author | Éric Araujo <merwok@netwok.org> | 2011-09-01 06:31:51 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-09-01 06:31:51 (GMT) |
commit | 0ac4a5d6d239e3ecdf3ddbe6c32942d1266ec485 (patch) | |
tree | 189a11e5b41d9a30b14d4a0961586eac4e155e8d /Lib/shutil.py | |
parent | d9299e97ab9ff7fa8f158740be61572e04a936fa (diff) | |
download | cpython-0ac4a5d6d239e3ecdf3ddbe6c32942d1266ec485.zip cpython-0ac4a5d6d239e3ecdf3ddbe6c32942d1266ec485.tar.gz cpython-0ac4a5d6d239e3ecdf3ddbe6c32942d1266ec485.tar.bz2 |
Add missing name in shutil.__all__
Diffstat (limited to 'Lib/shutil.py')
-rw-r--r-- | Lib/shutil.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/shutil.py b/Lib/shutil.py index 4b75262..0c096cb 100644 --- a/Lib/shutil.py +++ b/Lib/shutil.py @@ -35,7 +35,7 @@ __all__ = ["copyfileobj", "copyfile", "copymode", "copystat", "copy", "copy2", "register_archive_format", "unregister_archive_format", "get_unpack_formats", "register_unpack_format", "unregister_unpack_format", "unpack_archive", - "ignore_patterns"] + "ignore_patterns", "chown"] # disk_usage is added later, if available on the platform class Error(EnvironmentError): @@ -791,6 +791,7 @@ elif os.name == 'nt': used = total - free return _ntuple_diskusage(total, used, free) + def chown(path, user=None, group=None): """Change owner user and group of the given path. |