mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
This commit is contained in:
parent
613debcf0a
commit
15f44ab043
72 changed files with 121 additions and 121 deletions
|
@ -247,7 +247,7 @@ PyBytes_FromFormatV(const char *format, va_list vargs)
|
|||
++f;
|
||||
}
|
||||
|
||||
/* substract bytes preallocated for the format string
|
||||
/* subtract bytes preallocated for the format string
|
||||
(ex: 2 for "%s") */
|
||||
writer.min_size -= (f - p + 1);
|
||||
|
||||
|
@ -1093,7 +1093,7 @@ _PyBytes_DecodeEscapeRecode(const char **s, const char *end,
|
|||
assert(PyBytes_Check(w));
|
||||
|
||||
/* Append bytes to output buffer. */
|
||||
writer->min_size--; /* substract 1 preallocated byte */
|
||||
writer->min_size--; /* subtract 1 preallocated byte */
|
||||
p = _PyBytesWriter_WriteBytes(writer, p,
|
||||
PyBytes_AS_STRING(w),
|
||||
PyBytes_GET_SIZE(w));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue