diff options
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 ede18e0..282da3e 100644 --- a/Objects/tupleobject.c +++ b/Objects/tupleobject.c @@ -831,6 +831,6 @@ PyTypeObject PyTupleIter_Type = { 0, /* tp_clear */ 0, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - PyObject_GenericGetIter, /* tp_iter */ + PyObject_SelfIter, /* tp_iter */ (iternextfunc)tupleiter_next, /* tp_iternext */ }; |