[Python-checkins] r70425 - peps/trunk/pep-0378.txt
raymond.hettinger
python-checkins at python.org
Tue Mar 17 00:03:40 CET 2009
Author: raymond.hettinger
Date: Tue Mar 17 00:03:40 2009
New Revision: 70425
Log:
List the % type specifier as included in the PEP.
Modified:
peps/trunk/pep-0378.txt
Modified: peps/trunk/pep-0378.txt
==============================================================================
--- peps/trunk/pep-0378.txt (original)
+++ peps/trunk/pep-0378.txt Tue Mar 17 00:03:40 2009
@@ -81,8 +81,9 @@
No change is proposed for the locale module.
The thousands separator is defined as shown above for types
-'d', 'e', 'f', 'g', 'E', 'G'and 'F'. To allow future extensions, it is
-undefined for other types: binary, octal, hex, character, etc.
+'d', 'e', 'f', 'g', '%', 'E', 'G' and 'F'. To allow future
+extensions, it is undefined for other types: binary, octal,
+hex, character, etc.
Current Version of the Mini-Language
@@ -173,7 +174,7 @@
format(1234.5, "08,.1f") --> '01,234.5'
The ',' option is defined as shown above for types 'd', 'e',
-'f', 'g', 'E', 'G'and 'F'. To allow future extensions, it is
+'f', 'g', 'E', 'G', '%' and 'F'. To allow future extensions, it is
undefined for other types: binary, octal, hex, character,
etc.
More information about the Python-checkins
mailing list