summaryrefslogtreecommitdiffstats
path: root/Lib/dbhash.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-05-03 18:09:26 (GMT)
committerGuido van Rossum <guido@python.org>1999-05-03 18:09:26 (GMT)
commit287b3996d54fd6eaf24d10bfb51a1c3728d09486 (patch)
tree5b4855649420c00bb7d9fffc9ef9385eca80bb5b /Lib/dbhash.py
parentdb6d12c49835de33fb765df8e0be82ec144d64a1 (diff)
downloadcpython-287b3996d54fd6eaf24d10bfb51a1c3728d09486.zip
cpython-287b3996d54fd6eaf24d10bfb51a1c3728d09486.tar.gz
cpython-287b3996d54fd6eaf24d10bfb51a1c3728d09486.tar.bz2
Clarify why we define error. Suggested by Andrew Dalke.
Diffstat (limited to 'Lib/dbhash.py')
-rw-r--r--Lib/dbhash.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dbhash.py b/Lib/dbhash.py
index f440fd5..ff51630 100644
--- a/Lib/dbhash.py
+++ b/Lib/dbhash.py
@@ -2,7 +2,7 @@
import bsddb
-error = bsddb.error
+error = bsddb.error # Exported for anydbm
def open(file, flag, mode=0666):
return bsddb.hashopen(file, flag, mode)