From: Skip Montanaro Date: Tue, 6 May 2003 20:38:52 +0000 (+0000) Subject: add open function to bsddb185 module so the file format sniffing can be X-Git-Tag: v2.3c1~832 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c797ceb545f79cbf8899d66cfbfbd74a2e71ffdb;p=python add open function to bsddb185 module so the file format sniffing can be restricted to the whichdb module --- diff --git a/Modules/bsddbmodule.c b/Modules/bsddbmodule.c index 1319bf91a2..ac8c44395f 100644 --- a/Modules/bsddbmodule.c +++ b/Modules/bsddbmodule.c @@ -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}, };