Skip to content

Commit b927de4

Browse files
committed
Fix editing slip
1 parent 5a81e54 commit b927de4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Objects/tupleobject.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -876,9 +876,8 @@ static PySequenceMethods tuple_as_sequence = {
876876
static PyObjectIndexPair
877877
tuple_iteritem(PyObject *obj, Py_ssize_t index)
878878
{
879-
;
880879
if (index >= PyTuple_GET_SIZE(obj)) {
881-
return (PyObjectIndexPair) { .object = NULL, index = index };
880+
return (PyObjectIndexPair) { .object = NULL, .index = index };
882881
}
883882
PyObject *result = PyTuple_GET_ITEM(obj, index);
884883
Py_INCREF(result);

0 commit comments

Comments
 (0)