repo.or.cz
/
python
/
dscho.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Quick update to the README file. For intros and books we now point to
[python/dscho.git]
/
Lib
/
dbhash.py
blob
ff51630bb338eac23ac4ee3a4f240be6e6563a83
1
"""Provide a (g)dbm-compatible interface to bsdhash.hashopen."""
2
3
import
bsddb
4
5
error
=
bsddb
.
error
# Exported for anydbm
6
7
def
open
(
file
,
flag
,
mode
=
0666
):
8
return
bsddb
.
hashopen
(
file
,
flag
,
mode
)