On Thu, 2003-10-23 at 10:56, Guido van Rossum wrote: > > 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. Cool! -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 307 bytes Desc: This is a digitally signed message part Url : http://mail.python.org/pipermail/python-dev/attachments/20031023/cd65cd86/attachment.bin
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