]> granicus.if.org Git - python/commitdiff
Merged revisions 87277 via svnmerge from
authorÉric Araujo <merwok@netwok.org>
Wed, 15 Dec 2010 20:30:51 +0000 (20:30 +0000)
committerÉric Araujo <merwok@netwok.org>
Wed, 15 Dec 2010 20:30:51 +0000 (20:30 +0000)
svn+ssh://pythondev@svn.python.org/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.
........

Doc/distutils/apiref.rst
Lib/distutils/archive_util.py

index f76f72b8f2d55418a027fb92c3284e21314ab13b..81de1ad1eaaeecea4bc8caa3242ec20da2496a5e 100644 (file)
@@ -888,7 +888,7 @@ tarballs or zipfiles.
 .. function:: make_zipfile(base_name, base_dir[, verbose=0, dry_run=0])
 
    Create a zip file from all files in and under *base_dir*.  The output zip file
-   will be named *base_dir* + :file:`.zip`.  Uses either the  :mod:`zipfile` Python
+   will be named *base_name* + :file:`.zip`.  Uses either the  :mod:`zipfile` Python
    module (if available) or the InfoZIP :file:`zip`  utility (if installed and
    found on the default search path).  If neither  tool is available, raises
    :exc:`DistutilsExecError`.   Returns the name of the output zip file.
index 16164c7f1f6d3f4e7cb5539b0c53fdebd36cf0f7..6dd0445dbe60e76baab9d886cbdb561378b7c531 100644 (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