Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 065ba70

Browse files
committed
update string formatting grammar
1 parent bde1676 commit 065ba70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/string.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ The grammar for a replacement field is as follows:
199199
field_name: (`identifier` | `integer`) ("." `attribute_name` | "[" element_index "]")*
200200
attribute_name: `identifier`
201201
element_index: `integer`
202-
conversion: "r" | "s"
202+
conversion: "r" | "s" | "a"
203203
format_spec: <described in the next section>
204204

205205
In less formal terms, the replacement field starts with a *field_name*, which

0 commit comments

Comments
 (0)