Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
On Thu, Oct 7, 2010 at 3:37 PM, Raymond Hettinger <rep...@bugs.python.org> wrote: .. > I'll update the docs with an equivalent that works and that has a comment > showing when the > StopIteration is raised and caught. > In this case, I wonder if "equivalent to" code should be added to the section for enumerate() and map(). Also since any() and all() have "equivalent to" code, I think min(), max() and sum() deserve it as well. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10029> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com