Skip to content

Commit 4ad28e6

Browse files
committed
Fixup white space
1 parent 0da608b commit 4ad28e6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Objects/listobject.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ list_allocate_array(size_t capacity)
4545
if (capacity > PY_SSIZE_T_MAX/sizeof(PyObject*) - 1) {
4646
return NULL;
4747
}
48-
4948
_PyListArray *array = PyMem_Malloc(sizeof(_PyListArray) + capacity * sizeof(PyObject *));
5049
if (array == NULL) {
5150
return NULL;
@@ -1242,7 +1241,7 @@ list_extend_iter_lock_held(PyListObject *self, PyObject *iterable)
12421241

12431242
if (Py_SIZE(self) < self->allocated) {
12441243
Py_ssize_t len = Py_SIZE(self);
1245-
FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[len], item);
1244+
FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[len], item); // steals item ref
12461245
Py_SET_SIZE(self, len + 1);
12471246
}
12481247
else {

0 commit comments

Comments
 (0)