summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb/dbshelve.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/bsddb/dbshelve.py')
-rw-r--r--Lib/bsddb/dbshelve.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/bsddb/dbshelve.py b/Lib/bsddb/dbshelve.py
index afc1a1a..8530c9a 100644
--- a/Lib/bsddb/dbshelve.py
+++ b/Lib/bsddb/dbshelve.py
@@ -198,7 +198,7 @@ class DBShelf(DictMixin):
def __contains__(self, key):
- return self.has_key(key)
+ return self.db.has_key(key)
#----------------------------------------------