@@ -31,8 +31,8 @@ Macros starting with ``PRI`` and ``__PRI`` from `<inttypes.h>` are
3131expanded, escaping is handled and adjacent strings are concatenated to form
3232a single ``StringLiteral `` before the format string is converted. Use of
3333any other macros in the format string will cause a warning message to be
34- emitted and no conversion will be performed. The resultant converted format
35- string will always be a single string literal.
34+ emitted and no conversion will be performed. The converted format string
35+ will always be a single string literal.
3636
3737The check doesn't do a bad job, but it's not perfect. In particular:
3838
@@ -42,9 +42,9 @@ The check doesn't do a bad job, but it's not perfect. In particular:
4242
4343- At the point that the check runs, the AST contains a single
4444 ``StringLiteral `` for the format string where escapes have been expanded.
45- The check tries to put the escapes back , they may not be exactly as they
46- were written (e.g. ``"\x41\x0a" `` will become ``"A\n" `` and `` "ab" "cd" ``
47- will become ``"abcd" ``.)
45+ The check tries to reconstruct escapes sequences , they may not be the
46+ same as they were written (e.g. ``"\x41\x0a" `` will become ``"A\n" `` and
47+ `` "ab" "cd" `` will become ``"abcd" ``.)
4848
4949- It supports field widths, precision, positional arguments, leading zeros,
5050 leading ``+ ``, alignment and alternative forms.
0 commit comments