[Python-checkins] python/dist/src/Lib dumbdbm.py,1.20,1.21
rhettinger@users.sourceforge.net
rhettinger@users.sourceforge.net
2003年6月28日 00:08:41 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv25990
Modified Files:
dumbdbm.py
Log Message:
SF 662923: iterator for dbm keys
When shelve and the bsdbm where expanded to a full mapping interface,
this module was missed.
Index: dumbdbm.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/dumbdbm.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** dumbdbm.py 1 Mar 2003 22:58:00 -0000 1.20
--- dumbdbm.py 28 Jun 2003 07:08:39 -0000 1.21
***************
*** 24,27 ****
--- 24,28 ----
import os as _os
import __builtin__
+ import UserDict
_open = __builtin__.open
***************
*** 31,35 ****
error = IOError # For anydbm
! class _Database:
def __init__(self, file, mode):
--- 32,36 ----
error = IOError # For anydbm
! class _Database(UserDict.DictMixin):
def __init__(self, file, mode):