python/dist/src/Python bltinmodule.c,2.298,2.299
![](https://secure.gravatar.com/avatar/7b43f399ad17706bee01be8cd20165b0.jpg?s=120&d=mm&r=g)
Update of /cvsroot/python/python/dist/src/Python In directory sc8-pr-cvs1:/tmp/cvs-serv18167 Modified Files: bltinmodule.c Log Message: Use PyArg_UnpackTuple() where possible. Index: bltinmodule.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Python/bltinmodule.c,v retrieving revision 2.298 retrieving revision 2.299 diff -C2 -d -r2.298 -r2.299 *** bltinmodule.c 12 Oct 2003 19:09:37 -0000 2.298 --- bltinmodule.c 25 Oct 2003 06:41:37 -0000 2.299 *************** *** 1807,1811 **** PyObject *temp, *item, *iter; ! if (!PyArg_ParseTuple(args, "O|O:sum", &seq, &result)) return NULL; --- 1807,1811 ---- PyObject *temp, *item, *iter; ! if (!PyArg_UnpackTuple(args, "sum", 1, 2, &seq, &result)) return NULL;
participants (1)
-
rhettingerīŧ users.sourceforge.net