3 ms·
Do you know there's also collections.defaultdict ?
by bhy 12y ago
Do you know there's also collections.defaultdict ?
- ghshephard 12y agoI do now! I had known (and used) collections.OrderedDict, but had never used defaultdict. Millions of keyerrors later... I clearly am going to have to spend a few hours today grokking everything that collections.* has to offer. Thanks very much.