Issue 8288: zipfile module documentation misprint (original) (raw)

Issue8288

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:59 admin set github: 52535
2010-04-03 06:15:40 georg.brandl set messages: +
2010-04-03 03:20:18 matpuk set messages: +
2010-04-02 20:13:13 georg.brandl set status: open -> closedresolution: fixedmessages: + versions: + Python 3.2, - Python 2.6
2010-04-02 13:52:56 matpuk create