Kaydet (Commit) 0ac4a5d6 authored tarafından Éric Araujo's avatar Éric Araujo

Add missing name in shutil.__all__

üst d9299e97
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment