We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa31714 commit 0af4cd8Copy full SHA for 0af4cd8
1 file changed
peps/pep-0782.rst
@@ -53,7 +53,7 @@ When creating a bytes string and the output size is unknown, one
53
strategy is to allocate a short buffer and extend it (to the exact size)
54
each time a larger write is needed.
55
56
-This strategy is inefficient because it requires to enlarge the buffer
+This strategy is inefficient because it requires enlarging the buffer
57
multiple times. It's more efficient to overallocate the buffer the
58
first time that a larger write is needed. It reduces the number of
59
expensive ``realloc()`` operations which can imply a memory copy.
0 commit comments