summaryrefslogtreecommitdiff
path: root/Lib/bsddb/dbobj.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2005-06-03 07:03:07 +0000
committerGregory P. Smith <greg@mad-scientist.com>2005-06-03 07:03:07 +0000
commite4ed2de26095cf83752c7f103b35b94982ec0654 (patch)
treef86357bbb175d673ad59eef6487708c7c39713a0 /Lib/bsddb/dbobj.py
parenta43ece965421b9078a77416b452573c4917d0b9a (diff)
downloadcpython-git-e4ed2de26095cf83752c7f103b35b94982ec0654.tar.gz
pybsddb 4.3.1, adds support for DB.set_bt_compare database btree comparison
functions written in python. contributed by <frederic.gobry@epfl.ch>
Diffstat (limited to 'Lib/bsddb/dbobj.py')
-rw-r--r--Lib/bsddb/dbobj.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/bsddb/dbobj.py b/Lib/bsddb/dbobj.py
index 3bafafa5d9..667ec314d3 100644
--- a/Lib/bsddb/dbobj.py
+++ b/Lib/bsddb/dbobj.py
@@ -164,6 +164,8 @@ class DB(DictMixin):
return apply(self._cobj.rename, args, kwargs)
def set_bt_minkey(self, *args, **kwargs):
return apply(self._cobj.set_bt_minkey, args, kwargs)
+ def set_bt_compare(self, *args, **kwargs):
+ return apply(self._cobj.set_bt_compare, args, kwargs)
def set_cachesize(self, *args, **kwargs):
return apply(self._cobj.set_cachesize, args, kwargs)
def set_flags(self, *args, **kwargs):