summaryrefslogtreecommitdiffstats
path: root/Lib/dumbdbm.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-05-28 22:58:40 (GMT)
committerGuido van Rossum <guido@python.org>1996-05-28 22:58:40 (GMT)
commit22a18904e43c47902ae1e58922abeb87b530b0ae (patch)
tree6aaa76da36e2c1d47866654b7295ee117e27274c /Lib/dumbdbm.py
parentfa59cd73d4a69ec343c273868e8043ece7be2228 (diff)
downloadcpython-22a18904e43c47902ae1e58922abeb87b530b0ae.zip
cpython-22a18904e43c47902ae1e58922abeb87b530b0ae.tar.gz
cpython-22a18904e43c47902ae1e58922abeb87b530b0ae.tar.bz2
export error == IOError
Diffstat (limited to 'Lib/dumbdbm.py')
-rw-r--r--Lib/dumbdbm.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/dumbdbm.py b/Lib/dumbdbm.py
index e356733..0ae1e82 100644
--- a/Lib/dumbdbm.py
+++ b/Lib/dumbdbm.py
@@ -28,6 +28,8 @@ _open = __builtin__.open
_BLOCKSIZE = 512
+error = IOError # For anydbm
+
class _Database:
def __init__(self, file):