[Python-3000-checkins] r67174 - python/branches/py3k/Doc/library/string.rst

benjamin.peterson python-3000-checkins at python.org
Sun Nov 9 02:43:03 CET 2008


Author: benjamin.peterson
Date: Sun Nov  9 02:43:02 2008
New Revision: 67174

Log:
update string formatting grammar

Modified:
   python/branches/py3k/Doc/library/string.rst

Modified: python/branches/py3k/Doc/library/string.rst
==============================================================================
--- python/branches/py3k/Doc/library/string.rst	(original)
+++ python/branches/py3k/Doc/library/string.rst	Sun Nov  9 02:43:02 2008
@@ -199,7 +199,7 @@
       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


More information about the Python-3000-checkins mailing list