[Python-Dev] Proposal: defaultdict (original) (raw)
Josiah Carlson jcarlson at uci.edu
Mon Feb 20 21:24:18 CET 2006
- Previous message: [Python-Dev] Proposal: defaultdict
- Next message: [Python-Dev] Proposal: defaultdict
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Adam Olsen" <rhamph at gmail.com> wrote:
Can you say, for the record (since nobody else seems to care), if d.getorset(key, func) would work in your use cases?
It doesn't work for the multiset/accumulation case:
dd[key] += 1
- Josiah
- Previous message: [Python-Dev] Proposal: defaultdict
- Next message: [Python-Dev] Proposal: defaultdict
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]