On Mon, 13 Sep 2004 12:29:11 +1000, David Harrison <dave.l.harrison at gmail.com> wrote: > > In the sense that items() can still be used as before, it remains > consistent. However since the same argument could be used to equally > promote the modification of other dict functions to accept such > arguments - such as keys(values_first=0) - to make the change to > items() alone is (in my humble opinion) inconsistent. > But that's just my opinion, others may feel differently. To me, neither mydict.keys(values_first=whatever) nor mydict.values(values_first=whatever) make any sense: these methods return a list of only keys or only values, so saying "values first" when you're getting a list of keys is meaningless.
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