mirror of https://github.com/python/cpython.git
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
|
@ -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…
Reference in New Issue