mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
backward compatible interface for bsddb
This commit is contained in:
parent
0182c068ab
commit
6700142d83
1 changed files with 8 additions and 0 deletions
8
Lib/dbhash.py
Normal file
8
Lib/dbhash.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
"""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)
|
Loading…
Add table
Add a link
Reference in a new issue