summaryrefslogtreecommitdiffstats
path: root/Lib/shutil.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2010-12-15 20:26:30 (GMT)
committerÉric Araujo <merwok@netwok.org>2010-12-15 20:26:30 (GMT)
commit4433a5fdc04bf0ec31030af91e74706734fa02e7 (patch)
treee8427d49e7f210f4bb5d591afb5353e2bdd042e6 /Lib/shutil.py
parent17a59252e8505439decbdf80c73d2465288f65c7 (diff)
downloadcpython-4433a5fdc04bf0ec31030af91e74706734fa02e7.zip
cpython-4433a5fdc04bf0ec31030af91e74706734fa02e7.tar.gz
cpython-4433a5fdc04bf0ec31030af91e74706734fa02e7.tar.bz2
Fix wrong name in docstring and doc (#10693). Original patch by Eli Bendersky.
Diffstat (limited to 'Lib/shutil.py')
-rw-r--r--Lib/shutil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/shutil.py b/Lib/shutil.py
index 44c8ac3..b808633 100644
--- a/Lib/shutil.py
+++ b/Lib/shutil.py
@@ -370,7 +370,7 @@ def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0,
archive that is being built. If not provided, the current owner and group
will be used.
- The output tar file will be named 'base_dir' + ".tar", possibly plus
+ The output tar file will be named 'base_name' + ".tar", possibly plus
the appropriate compression extension (".gz", or ".bz2").
Returns the output filename.
@@ -440,7 +440,7 @@ def _call_external_zip(base_dir, zip_filename, verbose=False, dry_run=False):
def _make_zipfile(base_name, base_dir, verbose=0, dry_run=0, logger=None):
"""Create a zip file from all the files under 'base_dir'.
- The output zip file will be named 'base_dir' + ".zip". Uses either the
+ The output zip file will be named 'base_name' + ".zip". Uses either the
"zipfile" Python module (if available) or the InfoZIP "zip" utility
(if installed and found on the default search path). If neither tool is
available, raises ExecError. Returns the name of the output zip