Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
9eb671fac3ab8b47c7511513ab9576fee0aefc91
/
.
/
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
)