diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-04-24 20:59:52 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-04-24 20:59:52 (GMT) |
commit | 2af713c2f7412ecfc95fe3b0251714c31b4bdf57 (patch) | |
tree | be147b595e6f07a70e143727cd7f28623a9c8988 /Objects/tupleobject.c | |
parent | da4ec5a7bc4c49b1f86f74e6bfe822cf8a15315e (diff) | |
download | cpython-2af713c2f7412ecfc95fe3b0251714c31b4bdf57.zip cpython-2af713c2f7412ecfc95fe3b0251714c31b4bdf57.tar.gz cpython-2af713c2f7412ecfc95fe3b0251714c31b4bdf57.tar.bz2 |
Squashed new compiler wngs about trying to compare pointers to
functions with different signatures.
Diffstat (limited to 'Objects/tupleobject.c')
-rw-r--r-- | Objects/tupleobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c index 645480c..7456533 100644 --- a/Objects/tupleobject.c +++ b/Objects/tupleobject.c @@ -753,7 +753,7 @@ tuple_iter(PyObject *seq) PyErr_BadInternalCall(); return NULL; } - if (seq->ob_type->tp_as_sequence->sq_item != tupleitem) + if (seq->ob_type->tp_as_sequence->sq_item != (intargfunc)tupleitem) return PySeqIter_New(seq); it = PyObject_GC_New(tupleiterobject, &PyTupleIter_Type); if (it == NULL) |