--- a/Doc/library/zipfile.rst Sun Mar 06 18:10:58 2011 -0600 +++ b/Doc/library/zipfile.rst Tue Mar 15 03:02:13 2011 +0200 @@ -247,6 +247,16 @@ :meth:`read` on a closed ZipFile will raise a :exc:`RuntimeError`. +.. method:: ZipFile.remove(member) + + Removes the file *member* from the archive. *member* must be the full file + name in the archive or a :class:`ZipInfo` object. The archive must be open in + append mode. Calling :meth:`remove` on a closed ZipFile will raise a + :exc:`RuntimeError`. + + .. versionadded:: 3.3 + + .. method:: ZipFile.testzip() Read all the files in the archive and check their CRC's and file headers.