diff options
author | Georg Brandl <georg@python.org> | 2009-03-16 19:42:03 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-03-16 19:42:03 (GMT) |
commit | 8cbe9556cf4ad10c0ee2636f43f4f3675a8c6203 (patch) | |
tree | 006f1ef28c428940e2a9cf3b326072e3f59156bd | |
parent | bb7467f6e3c1a95c3fa358cbf58c5d5ef0b550f3 (diff) | |
download | cpython-8cbe9556cf4ad10c0ee2636f43f4f3675a8c6203.zip cpython-8cbe9556cf4ad10c0ee2636f43f4f3675a8c6203.tar.gz cpython-8cbe9556cf4ad10c0ee2636f43f4f3675a8c6203.tar.bz2 |
Add token markup.
-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 3d1a3e8..4c3be4f 100644 --- a/Doc/library/string.rst +++ b/Doc/library/string.rst @@ -221,7 +221,7 @@ The grammar for a replacement field is as follows: .. productionlist:: sf replacement_field: "{" `field_name` ["!" `conversion`] [":" `format_spec`] "}" - field_name: (`identifier` | `integer`) ("." `attribute_name` | "[" element_index "]")* + field_name: (`identifier` | `integer`) ("." `attribute_name` | "[" `element_index` "]")* attribute_name: `identifier` element_index: `integer` conversion: "r" | "s" |