blob: 4abd4f03f1e932689a416b323ce9dfd60d2b1c6a (
plain)
1
2
3
4
5
6
7
8
9
10
|
"""Provide a (g)dbm-compatible interface to bsdhash.hashopen."""
import bsddb
__all__ = ["error","open"]
error = bsddb.error # Exported for anydbm
def open(file, flag, mode=0666):
return bsddb.hashopen(file, flag, mode)
|