[Python-checkins] r87414 - python/branches/release27-maint/Doc/library/zipfile.rst

georg.brandl python-checkins at python.org
Tue Dec 21 18:58:06 CET 2010


Author: georg.brandl
Date: Tue Dec 21 18:58:06 2010
New Revision: 87414

Log:
#10748: add versionchanged for non-trivial bugfix.

Modified:
   python/branches/release27-maint/Doc/library/zipfile.rst

Modified: python/branches/release27-maint/Doc/library/zipfile.rst
==============================================================================
--- python/branches/release27-maint/Doc/library/zipfile.rst	(original)
+++ python/branches/release27-maint/Doc/library/zipfile.rst	Tue Dec 21 18:58:06 2010
@@ -123,9 +123,10 @@
    and :program:`unzip` commands on Unix (the InfoZIP utilities) don't support
    these extensions.
 
-   If the file is created with mode ``'a'`` or ``'w'`` and then
-   :meth:`close`\ d without adding any files to the archive, the appropriate
-   ZIP structures for an empty archive will be written to the file.
+   .. versionchanged:: 2.7.1
+      If the file is created with mode ``'a'`` or ``'w'`` and then
+      :meth:`close`\ d without adding any files to the archive, the appropriate
+      ZIP structures for an empty archive will be written to the file.
 
    ZipFile is also a context manager and therefore supports the
    :keyword:`with` statement.  In the example, *myzip* is closed after the


More information about the Python-checkins mailing list