Skip to content

Commit 531bcdb

Browse files
warsawAA-Turner
andauthored
PEP 782: Fix a minor typo (#4492)
* Fix a minor typo * Update peps/pep-0782.rst Co-authored-by: Adam Turner <[email protected]> --------- Co-authored-by: Adam Turner <[email protected]>
1 parent ad919ce commit 531bcdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

peps/pep-0782.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ When creating a bytes string and the output size is unknown, one
5353
strategy is to allocate a short buffer and extend it (to the exact size)
5454
each time a larger write is needed.
5555

56-
This strategy is inefficient because it requires to enlarge the buffer
57-
multiple timess. It's more efficient to overallocate the buffer the
56+
This strategy is inefficient because it requires enlarging the buffer
57+
multiple times. It's more efficient to overallocate the buffer the
5858
first time that a larger write is needed. It reduces the number of
5959
expensive ``realloc()`` operations which can imply a memory copy.
6060

0 commit comments

Comments
 (0)