Fix wrong name in docstring and doc (#10693). Original patch by Eli Bendersky.

This commit is contained in:
Éric Araujo 2010-12-15 20:26:30 +00:00
parent 17a59252e8
commit 4433a5fdc0
3 changed files with 4 additions and 4 deletions

View file

@ -68,7 +68,7 @@ def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0):
def make_zipfile(base_name, base_dir, verbose=0, dry_run=0):
"""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 DistutilsExecError. Returns the name of the output zip