defining the behavior of zip(it, it) (WAS: Converting a flat list...)
fredrik at pythonware.com
Wed Nov 23 18:30:35 CET 2005
rhettinger at gmail.com wrote:
> [Dave Hansen]
> > In any case, the solution seems obvious: if you want the guarantee,
> > use the tool that provides it.
> True enough :-)
> FWIW, the itertools documentation style was intended more as a learning
> device than as a specification. I combined regular documentation,
> approximately equivalent generator code, examples, and recipes.
> Hopefully, reading the module docs creates an understanding of what the
> tools do, how to use them, how to combine them, and how to roll your
> own to extend the toolset.
maybe it's time to change "equivalent to" to "similar to", to avoid
messing things up for people who reads the mostly informal library
reference as if it were an ISO specification.
More information about the Python-list