mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Ignore whitespace between formats (not internal to a count+format).
This commit is contained in:
parent
ab0abdcef8
commit
e20aef574a
3 changed files with 13 additions and 0 deletions
|
|
@ -61,6 +61,9 @@ and Python values should be obvious given their types:
|
|||
A format character may be preceded by an integral repeat count; e.g.\
|
||||
the format string \code{'4h'} means exactly the same as \code{'hhhh'}.
|
||||
|
||||
Whitespace characters between formats are ignored; a count and its
|
||||
format must not contain whitespace though.
|
||||
|
||||
For the \code{'s'} format character, the count is interpreted as the
|
||||
size of the string, not a repeat count like for the other format
|
||||
characters; e.g. \code{'10s'} means a single 10-byte string, while
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue