Skip to content

Commit 77f3e29

Browse files
committed
update comment
1 parent 5baec94 commit 77f3e29

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Objects/listobject.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,6 @@ list_new_prealloc(Py_ssize_t size)
311311
if (size < PyList_MAXSAVESIZE) {
312312
PyListObject *op = (PyListObject *)_Py_FREELIST_POP(PyLongObject, small_lists[size]);
313313
if (op) {
314-
// allocated with ob_item still allocated, but we need to set the other fields
315314
assert (op->allocated >= size);
316315
return (PyObject *) op;
317316
}

0 commit comments

Comments
 (0)