holger krekel wrote: [discussion on naming enumerate() items()] > Additionally > > items(dict)==dict.items() > > would be satisfied, so the analogy is better than 'rough'. They are not equivalent, see below. Neal -- >>> d = {10:20} >>> print d.items() [(10, 20)] >>> print enumerate(d) <enumerate object at 0x40208bcc> >>> for x in enumerate(d): print x ... (0, 10)
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