On Sun, Aug 12, 2012 at 1:25 AM, sandro.tosi <python-checkins at python.org> wrote: > http://hg.python.org/cpython/rev/233673503217 > changeset: 78512:233673503217 > user: Sandro Tosi <sandro.tosi at 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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4