From 065ba709e8caf3cab936f22ad9782c2cf970b38f Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 9 Nov 2008 01:43:02 +0000 Subject: [PATCH] update string formatting grammar --- Doc/library/string.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/string.rst b/Doc/library/string.rst index 6ab555a69f8..63caa4cf3f3 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: In less formal terms, the replacement field starts with a *field_name*, which