diff options
author | Guido van Rossum <guido@python.org> | 1996-01-25 18:26:57 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-01-25 18:26:57 (GMT) |
commit | 0182c068abc98338aef681df89a372b6851b6820 (patch) | |
tree | 81d142326bb132bda17e45fb98403ff97027b69b /Lib | |
parent | 13ad35a7d68f2da9ef85984a219a637b5d083adb (diff) | |
download | cpython-0182c068abc98338aef681df89a372b6851b6820.zip cpython-0182c068abc98338aef681df89a372b6851b6820.tar.gz cpython-0182c068abc98338aef681df89a372b6851b6820.tar.bz2 |
inherit error from _mod.error
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/anydbm.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/anydbm.py b/Lib/anydbm.py index 72dd195..2dc312d 100644 --- a/Lib/anydbm.py +++ b/Lib/anydbm.py @@ -47,5 +47,8 @@ for _name in _names: break else: raise ImportError, "no dbm clone found; tried %s" % _names + +error = _mod.error + def open(file, flag = 'r', mode = 0666): return _mod.open(file, flag, mode) |