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