From ae992c1d066d69c9158f1a2300d4b06299e42821 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 16 Mar 2009 23:03:40 +0000 Subject: [PATCH] List the % type specifier as included in the PEP. --- pep-0378.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pep-0378.txt b/pep-0378.txt index 2e498fe07..9bddbbe47 100644 --- a/pep-0378.txt +++ b/pep-0378.txt @@ -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.