On Sun, Aug 12, 2012 at 1:25 AM, sandro.tosi <python-check...@python.org> wrote: > http://hg.python.org/cpython/rev/233673503217 > changeset: 78512:233673503217 > user: Sandro Tosi <sandro.t...@gmail.com> > date: Sun Aug 12 10:24:50 2012 +0200 > summary: > zip() returns an iterator, make a list() of it; thanks to Martin from docs@
> diff --git a/Doc/tutorial/datastructures.rst b/Doc/tutorial/datastructures.rst > - >>> zip(*matrix) > + >>> list(zip(*matrix)) > [(1, 5, 9), (2, 6, 10), (3, 7, 11), (4, 8, 12)] Is there a reason we don't run the doctests in the Doc/ folder's .rst files as part of regrtest (e.g. via DocFileSuite), or is that something we just haven't gotten around to doing? --Chris _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com