add open function to bsddb185 module so the file format sniffing can be

restricted to the whichdb module
This commit is contained in:
Skip Montanaro 2003-05-06 20:38:52 +00:00
parent 6967f2c2e9
commit c797ceb545
1 changed files with 2 additions and 0 deletions

View File

@ -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},
};