Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
efd3a3a843b15c05696ba4ac8c23b00d9d9a24ce
/
.
/
Lib
/
dbhash.py
blob: 57c6194b6c95ec3aa785f13c5227f231694113d1 [
file
] [
log
] [
blame
]
Guido van Rossum
6700142
1996-01-25 18:33:39 +0000
[
diff
] [
blame
]
1
"""Provide a (g)dbm-compatible interface to bsdhash.hashopen."""
2
3
import
bsddb
4
5
error
=
bsddb
.
error
6
7
def
open
(
file
,
flag
,
mode
):
8
return
bsddb
.
hashopen
(
file
,
flag
,
mode
)