> In a crazy, I-haven't-yet-had-my-coffee-yet desperate attempt at > resurrecting PEP 274, what if we made dict (and maybe tuple) > accumulator functions too? There's nothing magical about accumulator functions; they're just functions taking an iterable. We have tons of these today, and tuple() and dict() are among them. Once the syntax works, dict((k,k) for k,k in "hello") will with without changes to dict. --Guido van Rossum (home page: http://www.python.org/~guido/)
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