[Python-checkins] cpython: Add missing name in shutil.__all__

eric.araujo python-checkins at python.org
Fri Sep 2 17:45:08 CEST 2011


http://hg.python.org/cpython/rev/b166dc85f604
changeset: 72182:b166dc85f604
user: Éric Araujo <merwok at netwok.org>
date: Thu Sep 01 08:31:51 2011 +0200
summary:
 Add missing name in shutil.__all__
files:
 Lib/shutil.py | 3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Lib/shutil.py b/Lib/shutil.py
--- a/Lib/shutil.py
+++ b/Lib/shutil.py
@@ -35,7 +35,7 @@
 "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 @@
 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.
 
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /