Kaydet (Commit) c797ceb5 authored tarafından Skip Montanaro's avatar Skip Montanaro

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

restricted to the whichdb module
üst 6967f2c2
......@@ -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},
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment