[Python-checkins] python/dist/src/Lib/bsddb dbobj.py,1.8,1.9
greg at users.sourceforge.net
greg at users.sourceforge.net
Mon Jun 28 00:06:51 EDT 2004
Update of /cvsroot/python/python/dist/src/Lib/bsddb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11608/Lib/bsddb
Modified Files:
dbobj.py
Log Message:
Adds support for DB.pget and DBCursor.pget methods.
Based on a patch supplied by Ian Ward <ian at arevco.ca> on the pybsddb
mailing list 2004年03月26日.
Index: dbobj.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/bsddb/dbobj.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** dbobj.py 28 Aug 2003 21:50:30 -0000 1.8
--- dbobj.py 28 Jun 2004 04:06:48 -0000 1.9
***************
*** 135,138 ****
--- 135,140 ----
def get(self, *args, **kwargs):
return apply(self._cobj.get, args, kwargs)
+ def pget(self, *args, **kwargs):
+ return apply(self._cobj.pget, args, kwargs)
def get_both(self, *args, **kwargs):
return apply(self._cobj.get_both, args, kwargs)
More information about the Python-checkins
mailing list