mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
add open function to bsddb185 module so the file format sniffing can be
restricted to the whichdb module
This commit is contained in:
parent
6967f2c2e9
commit
c797ceb545
1 changed files with 2 additions and 0 deletions
|
@ -838,6 +838,8 @@ static PyMethodDef bsddbmodule_methods[] = {
|
|||
{"hashopen", (PyCFunction)bsdhashopen, METH_VARARGS},
|
||||
{"btopen", (PyCFunction)bsdbtopen, METH_VARARGS},
|
||||
{"rnopen", (PyCFunction)bsdrnopen, METH_VARARGS},
|
||||
/* strictly for use by dbhhash!!! */
|
||||
{"open", (PyCFunction)bsdhashopen, METH_VARARGS},
|
||||
{0, 0},
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue