Commit 6700142d authored by Guido van Rossum's avatar Guido van Rossum

backward compatible interface for bsddb

parent 0182c068
"""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)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment