]> granicus.if.org Git - python/commit
Bring UserDict in-sync with changes to dict.
authorRaymond Hettinger <python@rcn.com>
Wed, 27 Nov 2002 08:29:11 +0000 (08:29 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 27 Nov 2002 08:29:11 +0000 (08:29 +0000)
commite4827eb2a2c9eed8911a6874866a224972ff40ab
tree5195b5c1ede95d2a8251247a4a52598aaa7ec510
parente33d3df03079d704edbe159be079dc387058f044
Bring UserDict in-sync with changes to dict.

Constructor accepts optional keyword arguments after a optional items list.
Add fromkeys() as an alternate constructor from an iterable over keys.
Expand related unittests.
Lib/UserDict.py
Lib/test/test_userdict.py