A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/006840.html below:

[Python-Dev] PEP 201 - Parallel iteration

[Python-Dev] PEP 201 - Parallel iteration [Python-Dev] PEP 201 - Parallel iterationPaul Prescod paul@prescod.net
Mon, 17 Jul 2000 18:10:53 -0500
I would say that you should make the ambiguous single-param case
illegal.

For one of the examples you say:

>          for i in zip(a):

Why would you ever do that??? The only way that would make sense to me
if 

zip([[1],[2]])==zip([1],[2]), which I would dislike. 

Use zip(*[[1],[2]]) instead.
-- 
 Paul Prescod - Not encumbered by corporate consensus
It's difficult to extract sense from strings, but they're the only
communication coin we can count on. 
	- http://www.cs.yale.edu/~perlis-alan/quotes.html





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