diff options
| author | Skip Montanaro <skip@pobox.com> | 2003-05-06 20:38:52 +0000 |
|---|---|---|
| committer | Skip Montanaro <skip@pobox.com> | 2003-05-06 20:38:52 +0000 |
| commit | c797ceb545f79cbf8899d66cfbfbd74a2e71ffdb (patch) | |
| tree | 45736f8582413cfb5d97351004dc7bdb332f2047 /Modules/bsddbmodule.c | |
| parent | 6967f2c2e9d4079297558fa96b0b9bf1d0a3d27b (diff) | |
| download | cpython-git-c797ceb545f79cbf8899d66cfbfbd74a2e71ffdb.tar.gz | |
add open function to bsddb185 module so the file format sniffing can be
restricted to the whichdb module
Diffstat (limited to 'Modules/bsddbmodule.c')
| -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 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}, }; |
