Skip to content

Commit 23eb3aa

Browse files
authored
Update Objects/listobject.c
1 parent 7c1a835 commit 23eb3aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/listobject.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ list_pop_impl(PyListObject *self, Py_ssize_t index)
10261026
PyObject **items = self->ob_item;
10271027
v = items[index];
10281028
const Py_ssize_t size_after_pop = Py_SIZE(self) - 1;
1029-
if(size_after_pop == 0) {
1029+
if (size_after_pop == 0) {
10301030
Py_INCREF(v);
10311031
status = _list_clear(self);
10321032
}

0 commit comments

Comments
 (0)