Add support for the iterator and mapping protocols.
For Py2.3, this was done for shelve, dumbdbm and other mapping objects, but
not for bsddb and dbhash which were inadvertently missed.
This commit is contained in:
Raymond Hettinger 2003-09-12 06:33:37 +00:00
parent 74c8e55f3b
commit deadbf50e4
5 changed files with 56 additions and 16 deletions

View file

@ -35,6 +35,10 @@ Extension modules
Library
-------
- The bsddb module and dbhash module now support the iterator and
mapping protocols which make them more substitutable for dictionaries
and shelves.
- The csv module's DictReader and DictWriter classes now accept keyword
arguments. This was an omission in the initial implementation.