diff --git a/Modules/bsddbmodule.c b/Modules/bsddbmodule.c index 1319bf91a26..ac8c44395f7 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}, };