python/dist/src/Modules collectionsmodule.c, 1.8, 1.9
Update of /cvsroot/python/python/dist/src/Modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23748/Modules Modified Files: collectionsmodule.c Log Message: Make deque_type static so namespace is not polluted. Index: collectionsmodule.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Modules/collectionsmodule.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** collectionsmodule.c 29 Feb 2004 02:15:56 -0000 1.8 --- collectionsmodule.c 29 Feb 2004 15:40:53 -0000 1.9 *************** *** 35,39 **** } dequeobject; ! PyTypeObject deque_type; static PyObject * --- 35,39 ---- } dequeobject; ! static PyTypeObject deque_type; static PyObject * *************** *** 642,646 **** Build an ordered collection accessible from endpoints only."); ! PyTypeObject deque_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ --- 642,646 ---- Build an ordered collection accessible from endpoints only."); ! static PyTypeObject deque_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */
participants (1)
-
nnorwitz@users.sourceforge.net