Skip to content

Commit 764858a

Browse files
committed
fixup! Add exact allocation optimization to lists in What's New
1 parent e374413 commit 764858a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Doc/whatsnew/3.8.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ Optimizations
244244

245245
* The :class:`list` constructor does not overallocate the internal item buffer
246246
if the input iterable has a known size (the input implements ``__len__``).
247-
This makes the created list 12% smaller on average and it speeds the creation
248-
of very large lists. (Contributed by Pablo Galindo in :issue:`33234`.)
247+
This makes the created list 12% smaller on average. (Contributed by Pablo
248+
Galindo in :issue:`33234`.)
249249

250250

251251
Build and C API Changes

0 commit comments

Comments
 (0)