summaryrefslogtreecommitdiff
path: root/Doc/library/string.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-11-09 01:43:02 +0000
committerBenjamin Peterson <benjamin@python.org>2008-11-09 01:43:02 +0000
commit47eda324779025fa4d205ea9759db24ffe3854f9 (patch)
tree49920fd0f30e22ef930de92046b7d9f9acf41d86 /Doc/library/string.rst
parent1bec8fd6fa8a7940741d05aa04fad2581d87d6a7 (diff)
downloadcpython-47eda324779025fa4d205ea9759db24ffe3854f9.tar.gz
update string formatting grammar
Diffstat (limited to 'Doc/library/string.rst')
-rw-r--r--Doc/library/string.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/string.rst b/Doc/library/string.rst
index 6ab555a69f..63caa4cf3f 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