From 22a18904e43c47902ae1e58922abeb87b530b0ae Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 28 May 1996 22:58:40 +0000 Subject: export error == IOError --- Lib/dumbdbm.py | 2 ++ 1 file changed, 2 insertions(+) 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): -- cgit v0.12