* 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.
This commit is contained in:
parent
3daa1a39bd
commit
d7762d33c9
10
pep-0378.txt
10
pep-0378.txt
|
@ -49,7 +49,7 @@ Current Version of the Mini-Language
|
|||
|
||||
* `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 @@ and decimal point::
|
|||
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 @@ length including the thousands separators and decimal separators.
|
|||
|
||||
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
|
||||
==========
|
||||
|
|
Loading…
Reference in New Issue