| commit | 6a1cd1b3b14e204468132605008f1ac62d12151c | [log] [tgz] |
|---|---|---|
| author | Antoine Pitrou <solipsis@pitrou.net> | Mon Feb 27 00:45:12 2012 +0100 |
| committer | Antoine Pitrou <solipsis@pitrou.net> | Mon Feb 27 00:45:12 2012 +0100 |
| tree | dbc165fa7f3e60aa2c63cef4c8a4551d2a7f61ea | |
| parent | 92904d3a4aafa0437e2d614cef607cbf11860957 [diff] |
Issue #13521: dict.setdefault() now does only one lookup for the given key, making it "atomic" for many purposes. Patch by Filip GruszczyĆski.