mirror of https://github.com/python/cpython.git
backward compatible interface for bsddb
This commit is contained in:
parent
0182c068ab
commit
6700142d83
|
@ -0,0 +1,8 @@
|
||||||
|
"""Provide a (g)dbm-compatible interface to bsdhash.hashopen."""
|
||||||
|
|
||||||
|
import bsddb
|
||||||
|
|
||||||
|
error = bsddb.error
|
||||||
|
|
||||||
|
def open(file, flag, mode):
|
||||||
|
return bsddb.hashopen(file, flag, mode)
|
Loading…
Reference in New Issue