[Python-Dev] Proposal: defaultdict
Fredrik Lundh
fredrik at pythonware.com
Fri Feb 17 15:50:10 CET 2006
Nick Coghlan wrote:
> Using Guido's original example:
>
> d.get(key, [], True).append(value)
hmm. are you sure you didn't just reinvent setdefault ?
</F>
More information about the Python-Dev
mailing list