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/2001-January/012289.html below:

[Python-Dev] Re: Re: Sets: elt in dict, lst.include

[Python-Dev] Re: Re: Sets: elt in dict, lst.includeCharles G Waldman cgw@alum.mit.edu
Mon, 29 Jan 2001 12:35:58 -0600 (CST)
Greg Wilson writes:

 > This would allow multi-dimensional structures
 > (e.g. NumPy arrays) to do things like:
 > 
 >     for (i, j, k) in array:		# please give me three indices
 > 
 > and:
 > 
 >     for ((i, j, k), v) in array:	# three indices and value

And what if I had, for example, a 3-dimensional array where the values
are 3-tuples?  Would "for (i,j,k) in array" refer to the indices or the
values?




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