Discussion:
[Python-3000-checkins] r67174 - python/branches/py3k/Doc/library/string.rst
benjamin.peterson
2008-11-09 01:43:03 UTC
Permalink
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
Loading...