[Python-checkins] r63075 - peps/trunk/pep-3101.txt

eric.smith python-checkins at python.org
Sun May 11 20:59:32 CEST 2008


Author: eric.smith
Date: Sun May 11 20:59:32 2008
New Revision: 63075

Log:
Added 'n' presentation type for integers.

Modified:
   peps/trunk/pep-3101.txt

Modified: peps/trunk/pep-3101.txt
==============================================================================
--- peps/trunk/pep-3101.txt	(original)
+++ peps/trunk/pep-3101.txt	Sun May 11 20:59:32 2008
@@ -302,6 +302,9 @@
               case letters for the digits above 9.
         'X' - Hex format. Outputs the number in base 16, using upper-
               case letters for the digits above 9.
+        'n' - Number. This is the same as 'd', except that it uses the
+              current locale setting to insert the appropriate
+              number separator characters.
         '' (None) - the same as 'd'
 
     The available floating point presentation types are:


More information about the Python-checkins mailing list