summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2003-05-06 20:38:52 (GMT)
committerSkip Montanaro <skip@pobox.com>2003-05-06 20:38:52 (GMT)
commitc797ceb545f79cbf8899d66cfbfbd74a2e71ffdb (patch)
tree45736f8582413cfb5d97351004dc7bdb332f2047 /Modules
parent6967f2c2e9d4079297558fa96b0b9bf1d0a3d27b (diff)
downloadcpython-c797ceb545f79cbf8899d66cfbfbd74a2e71ffdb.zip
cpython-c797ceb545f79cbf8899d66cfbfbd74a2e71ffdb.tar.gz
cpython-c797ceb545f79cbf8899d66cfbfbd74a2e71ffdb.tar.bz2
add open function to bsddb185 module so the file format sniffing can be
restricted to the whichdb module
Diffstat (limited to 'Modules')
-rw-r--r--Modules/bsddbmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/bsddbmodule.c b/Modules/bsddbmodule.c
index 1319bf9..ac8c443 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},
};