#10748: add versionchanged for non-trivial bugfix.

This commit is contained in:
Georg Brandl 2010-12-21 17:58:06 +00:00
parent e321259c38
commit da29acd96d

View file

@ -123,6 +123,7 @@ ZipFile Objects
and :program:`unzip` commands on Unix (the InfoZIP utilities) don't support and :program:`unzip` commands on Unix (the InfoZIP utilities) don't support
these extensions. these extensions.
.. versionchanged:: 2.7.1
If the file is created with mode ``'a'`` or ``'w'`` and then If the file is created with mode ``'a'`` or ``'w'`` and then
:meth:`close`\ d without adding any files to the archive, the appropriate :meth:`close`\ d without adding any files to the archive, the appropriate
ZIP structures for an empty archive will be written to the file. ZIP structures for an empty archive will be written to the file.