[Python-checkins] r70416 - peps/trunk/pep-0378.txt
raymond.hettinger
python-checkins at python.org
Mon Mar 16 20:14:15 CET 2009
Author: raymond.hettinger
Date: Mon Mar 16 20:14:15 2009
New Revision: 70416
Log:
* Make a permalink to docs that won't change as new docs get issued.
* Note that the proposal only applies to non-exponential based ten presentations.
Modified:
peps/trunk/pep-0378.txt
Modified: peps/trunk/pep-0378.txt
==============================================================================
--- peps/trunk/pep-0378.txt (original)
+++ peps/trunk/pep-0378.txt Mon Mar 16 20:14:15 2009
@@ -49,7 +49,7 @@
* `Python 2.6 docs`_
- .. _Python 2.6 docs: http://docs.python.org/library/string.html#formatstrings
+ .. _Python 2.6 docs: http://www.python.org/doc/2.6.1/library/string.html#formatstrings
* PEP 3101 Advanced String Formatting
@@ -126,6 +126,10 @@
format(1234, "08,d") --> '0001,234'
format(1234.5, "08,.1f") --> '01,234.5'
+The ',' option is defined as shown above for types 'd', 'f',
+and 'F'. It is undefined for other types (binary, octal, hex,
+character, exponential, general, percentage, etc.)
+
Proposal II (from Eric Smith)
=============================
@@ -163,6 +167,10 @@
No change is proposed for the locale module.
+The thousands separator is defined as shown above for types
+'d', 'f', and 'F'. It is undefined for other types (binary,
+octal, hex, character, exponential, general, percentage, etc.)
+
Comparison
==========
More information about the Python-checkins
mailing list