Skip to content

Commit 0af4cd8

Browse files
warsawAA-Turner
andauthored
Update peps/pep-0782.rst
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent fa31714 commit 0af4cd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

peps/pep-0782.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ 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
56+
This strategy is inefficient because it requires enlarging the buffer
5757
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.

0 commit comments

Comments
 (0)