This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: zipfile module documentation misprint
Type: Stage:
Components: Documentation Versions: Python 3.1, Python 3.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, matpuk
Priority: normal Keywords:

Created on 2010-04-02 13:52 by matpuk, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg102168 - (view) Author: Grigory Kareev (matpuk) Date: 2010-04-02 13:52
Zipfile module documentaion says:
"""
The file-like object is read-only and provides the following methods: read(), readline(), readlines(), __iter__(), next()
"""

But ZipExtFile class doesn't provide next(), it provides __next__().
msg102191 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-04-02 20:13
Thanks, fixed in r79615 (only applies to py3k.)
msg102218 - (view) Author: Grigory Kareev (matpuk) Date: 2010-04-03 03:20
What about 2.7? I see the issue there too.
msg102226 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-04-03 06:15
In 2.x, the method is really called next().
History
Date User Action Args
2022-04-11 14:56:59adminsetgithub: 52535
2010-04-03 06:15:40georg.brandlsetmessages: + msg102226
2010-04-03 03:20:18matpuksetmessages: + msg102218
2010-04-02 20:13:13georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg102191

versions: + Python 3.2, - Python 2.6
2010-04-02 13:52:56matpukcreate