diff options
author | Skip Montanaro <skip@pobox.com> | 2003-05-06 20:38:52 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2003-05-06 20:38:52 (GMT) |
commit | c797ceb545f79cbf8899d66cfbfbd74a2e71ffdb (patch) | |
tree | 45736f8582413cfb5d97351004dc7bdb332f2047 /Modules | |
parent | 6967f2c2e9d4079297558fa96b0b9bf1d0a3d27b (diff) | |
download | cpython-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.c | 2 |
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}, }; |