List the % type specifier as included in the PEP.

This commit is contained in:
Raymond Hettinger 2009-03-16 23:03:40 +00:00
parent f4d2fefd2c
commit ae992c1d06
1 changed files with 4 additions and 3 deletions

View File

@ -81,8 +81,9 @@ 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', '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 @@ and decimal point::
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.