diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-11-09 01:43:02 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-11-09 01:43:02 (GMT) |
commit | 065ba709e8caf3cab936f22ad9782c2cf970b38f (patch) | |
tree | 652641ca4893caa7eac4a6324f79fb050cea712c /Doc | |
parent | bde1676b06fe4c18892f5cbe654bdbc8e34cecba (diff) | |
download | cpython-065ba709e8caf3cab936f22ad9782c2cf970b38f.zip cpython-065ba709e8caf3cab936f22ad9782c2cf970b38f.tar.gz cpython-065ba709e8caf3cab936f22ad9782c2cf970b38f.tar.bz2 |
update string formatting grammar
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/string.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/string.rst b/Doc/library/string.rst index 6ab555a..63caa4c 100644 --- a/Doc/library/string.rst +++ b/Doc/library/string.rst @@ -199,7 +199,7 @@ The grammar for a replacement field is as follows: field_name: (`identifier` | `integer`) ("." `attribute_name` | "[" element_index "]")* attribute_name: `identifier` element_index: `integer` - conversion: "r" | "s" + conversion: "r" | "s" | "a" format_spec: <described in the next section> In less formal terms, the replacement field starts with a *field_name*, which |