commit | bbdf6078f689aca2c8443db652a93d253698d040 | [log] [tgz] |
---|---|---|
author | Thomas Wouters <thomas@python.org> | Thu Feb 16 14:57:05 2006 +0000 |
committer | Thomas Wouters <thomas@python.org> | Thu Feb 16 14:57:05 2006 +0000 |
tree | c606611998a182ac65a5ef8b5b99d2c6b6b52d17 | |
parent | 41290685f9d5c7aed544bd5db90914ab82f9d213 [diff] |
Fix broken example of csv.reader use (it returns an iterator, which isn't indexable) by using the same 'for' construct as all other examples. (Also emphasizes that reading from a random iterable is no different than reading from a file.)