Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7e2e321

Browse files
committed
Merged revisions 87277 via svnmerge from
svn+ssh://[email protected]/python/branches/py3k ........ r87277 | eric.araujo | 2010-12-15 21:26:30 +0100 (mer., 15 déc. 2010) | 2 lines Fix wrong name in docstring and doc (#10693). Original patch by Eli Bendersky. ........
1 parent 800dfee commit 7e2e321

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/distutils/apiref.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ tarballs or zipfiles.
888888
.. function:: make_zipfile(base_name, base_dir[, verbose=0, dry_run=0])
889889

890890
Create a zip file from all files in and under *base_dir*. The output zip file
891-
will be named *base_dir* + :file:`.zip`. Uses either the :mod:`zipfile` Python
891+
will be named *base_name* + :file:`.zip`. Uses either the :mod:`zipfile` Python
892892
module (if available) or the InfoZIP :file:`zip` utility (if installed and
893893
found on the default search path). If neither tool is available, raises
894894
:exc:`DistutilsExecError`. Returns the name of the output zip file.

Lib/distutils/archive_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0):
6868
def make_zipfile(base_name, base_dir, verbose=0, dry_run=0):
6969
"""Create a zip file from all the files under 'base_dir'.
7070
71-
The output zip file will be named 'base_dir' + ".zip". Uses either the
71+
The output zip file will be named 'base_name' + ".zip". Uses either the
7272
"zipfile" Python module (if available) or the InfoZIP "zip" utility
7373
(if installed and found on the default search path). If neither tool is
7474
available, raises DistutilsExecError. Returns the name of the output zip

0 commit comments

Comments
 (0)