[Python-checkins] r78445 - in python/branches/release26-maint: Doc/library/string.rst
eric.smith
python-checkins at python.org
Thu Feb 25 15:55:41 CET 2010
Author: eric.smith
Date: Thu Feb 25 15:55:41 2010
New Revision: 78445
Log:
Merged revisions 78444 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78444 | eric.smith | 2010-02-25 09:26:33 -0500 (Thu, 25 Feb 2010) | 1 line
Issue #7928: Document str.format element_index better.
........
Modified:
python/branches/release26-maint/ (props changed)
python/branches/release26-maint/Doc/library/string.rst
Modified: python/branches/release26-maint/Doc/library/string.rst
==============================================================================
--- python/branches/release26-maint/Doc/library/string.rst (original)
+++ python/branches/release26-maint/Doc/library/string.rst Thu Feb 25 15:55:41 2010
@@ -223,7 +223,8 @@
replacement_field: "{" `field_name` ["!" `conversion`] [":" `format_spec`] "}"
field_name: (`identifier` | `integer`) ("." `attribute_name` | "[" `element_index` "]")*
attribute_name: `identifier`
- element_index: `integer`
+ element_index: `integer` | `index_string`
+ index_string: <any source character except "]"> +
conversion: "r" | "s"
format_spec: <described in the next section>
More information about the Python-checkins
mailing list