Skip to content

Commit 82ebe2f

Browse files
Minimise diff
1 parent 3de6933 commit 82ebe2f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Modules/_collectionsmodule.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2588,9 +2588,9 @@ _collections__count_elements_impl(PyObject *module, PyObject *mapping,
25882588
Py_XDECREF(newval);
25892589
Py_XDECREF(bound_get);
25902590
if (PyErr_Occurred())
2591-
return NULL;
2592-
Py_RETURN_NONE;
2593-
}
2591+
return NULL;
2592+
Py_RETURN_NONE;
2593+
}
25942594

25952595
/* Helper function for namedtuple() ************************************/
25962596

@@ -2618,7 +2618,7 @@ tuplegetter_new_impl(PyTypeObject *type, Py_ssize_t index, PyObject *doc)
26182618
_tuplegetterobject* self;
26192619
self = (_tuplegetterobject *)type->tp_alloc(type, 0);
26202620
if (self == NULL) {
2621-
return NULL;
2621+
return NULL;
26222622
}
26232623
self->index = index;
26242624
self->doc = Py_NewRef(doc);
@@ -2651,8 +2651,8 @@ tuplegetter_descr_get(PyObject *self, PyObject *obj, PyObject *type)
26512651
"doesn't apply to '%s' object",
26522652
index,
26532653
Py_TYPE(obj)->tp_name);
2654-
return NULL;
2655-
}
2654+
return NULL;
2655+
}
26562656

26572657
if (!valid_index(index, PyTuple_GET_SIZE(obj))) {
26582658
PyErr_SetString(PyExc_IndexError, "tuple index out of range");

0 commit comments

Comments
 (0)