export error == IOError
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 @@
 
 _BLOCKSIZE = 512
 
+error = IOError				# For anydbm
+
 class _Database:
 
 	def __init__(self, file):