Skip to content

Commit 15ee20d

Browse files
committed
Resolve the comments on the PR 154019
1 parent 6ff08d9 commit 15ee20d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Objects/listobject.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,6 @@ PyList_New(Py_ssize_t size)
253253
}
254254
}
255255
op->ob_item = NULL;
256-
Py_SET_SIZE(op, 0);
257-
op->allocated = 0;
258256

259257
if (size > 0) {
260258
#ifdef Py_GIL_DISABLED

0 commit comments

Comments
 (0)