[Python-checkins] cpython (2.7): Issue #23730: Document the return value of ZipFile.extract

zach.ware python-checkins at python.org
Mon Apr 13 23:44:15 CEST 2015


https://hg.python.org/cpython/rev/731e366885f5
changeset:   95616:731e366885f5
branch:      2.7
parent:      95605:da9000db3ad4
user:        Zachary Ware <zachary.ware at gmail.com>
date:        Mon Apr 13 16:40:49 2015 -0500
summary:
  Issue #23730: Document the return value of ZipFile.extract

Patch by Stéphane Wirtel.

files:
  Doc/library/zipfile.rst |  2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)


diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst
--- a/Doc/library/zipfile.rst
+++ b/Doc/library/zipfile.rst
@@ -212,6 +212,8 @@
    to extract to.  *member* can be a filename or a :class:`ZipInfo` object.
    *pwd* is the password used for encrypted files.
 
+   Returns the normalized path created (a directory or new file).
+
    .. versionadded:: 2.6
 
    .. note::

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list