[Python-checkins] python/dist/src/Modules bsddbmodule.c,1.38,1.39
montanaro@users.sourceforge.net
montanaro@users.sourceforge.net
Tue, 06 May 2003 13:38:55 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv18646
Modified Files:
bsddbmodule.c
Log Message:
add open function to bsddb185 module so the file format sniffing can be
restricted to the whichdb module
Index: bsddbmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/bsddbmodule.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** bsddbmodule.c 19 Nov 2002 08:09:52 -0000 1.38
--- bsddbmodule.c 6 May 2003 20:38:52 -0000 1.39
***************
*** 839,842 ****
--- 839,844 ----
{"btopen", (PyCFunction)bsdbtopen, METH_VARARGS},
{"rnopen", (PyCFunction)bsdrnopen, METH_VARARGS},
+ /* strictly for use by dbhhash!!! */
+ {"open", (PyCFunction)bsdhashopen, METH_VARARGS},
{0, 0},
};