Update syntax.rst

This commit is contained in:
Victor Zverovich 2019-12-29 07:25:34 -10:00 committed by GitHub
parent 061a9897fe
commit 674c326d7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ The general form of a *standard format specifier* is:
.. productionlist:: sf .. productionlist:: sf
format_spec: [[`fill`]`align`][`sign`]["#"]["0"][`width`]["." `precision`][`type`] format_spec: [[`fill`]`align`][`sign`]["#"]["0"][`width`]["." `precision`][`type`]
fill: <a character other than '{', '}' or '\0'> fill: <a character other than '{', '}' or '\0'>
align: "<" | ">" | "=" | "^" align: "<" | ">" | "^"
sign: "+" | "-" | " " sign: "+" | "-" | " "
width: `integer` | "{" `arg_id` "}" width: `integer` | "{" `arg_id` "}"
precision: `integer` | "{" `arg_id` "}" precision: `integer` | "{" `arg_id` "}"