diff options
| author | Raymond Hettinger <python@rcn.com> | 2009-01-13 01:05:03 (GMT) |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2009-01-13 01:05:03 (GMT) |
| commit | aaa6e630f8440c7a29621863df35fb4c427e5968 (patch) | |
| tree | e045d175b38bcd478e36de41af3075cfbb6d42e6 /Lib/ast.py | |
| parent | a40d57366432cd65915b92fe3e6bfe1d5ad63be0 (diff) | |
| download | cpython-aaa6e630f8440c7a29621863df35fb4c427e5968.zip cpython-aaa6e630f8440c7a29621863df35fb4c427e5968.tar.gz cpython-aaa6e630f8440c7a29621863df35fb4c427e5968.tar.bz2 | |
Simplify Counter() API. Replace items keyword argument
with a mapping. Makes Counter() idempotent, makes update()
API the same as Counter.__init__(), makes a more readable
repr, makes the API more dict-like, and allows Steven
Bethard's update() example to work.
Diffstat (limited to 'Lib/ast.py')
0 files changed, 0 insertions, 0 deletions
