[Python-Dev] Re: [Python-checkins] python/dist/src/Objects listobject.c, 2.158, 2.159
Neal Norwitz
neal at metaslash.com
Thu Oct 16 11:52:12 EDT 2003
More information about the Python-Dev mailing list
Thu Oct 16 11:52:12 EDT 2003
- Previous message: [Python-Dev] accumulator display syntax
- Next message: [Python-Dev] Re: [Python-checkins] python/dist/src/Objectslistobject.c, 2.158, 2.159
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Oct 15, 2003 at 08:41:11PM -0700, rhettinger at users.sourceforge.net wrote: > > Index: listobject.c > =================================================================== > + static PyObject * > + cmpwrapper_call(cmpwrapperobject *co, PyObject *args, PyObject *kwds) > + { > + PyObject *x, *y, *xx, *yy; > + > + if (!PyArg_UnpackTuple(args, "", 2, 2, &x, &y)) > + return NULL; > + if (!PyObject_TypeCheck(x, &sortwrapper_type) || > + !PyObject_TypeCheck(x, &sortwrapper_type)) { The second line should be checking y, not x? Neal
- Previous message: [Python-Dev] accumulator display syntax
- Next message: [Python-Dev] Re: [Python-checkins] python/dist/src/Objectslistobject.c, 2.158, 2.159
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list