mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
add open function to bsddb185 module so the file format sniffing can be
restricted to the whichdb module
This commit is contained in:
@@ -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},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user