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

eric.smith python-checkins at python.org
Thu Jul 17 16:34:14 CEST 2008


Author: eric.smith
Date: Thu Jul 17 16:34:14 2008
New Revision: 65060

Log:
Changed language about upper case float formats 'E' and 'F'.  I'm not wild about my language, but I didn't want to get into the details of 'nan', 'NAN', etc.  Improvements welcome.

Modified:
   peps/trunk/pep-3101.txt

Modified: peps/trunk/pep-3101.txt
==============================================================================
--- peps/trunk/pep-3101.txt	(original)
+++ peps/trunk/pep-3101.txt	Thu Jul 17 16:34:14 2008
@@ -315,11 +315,12 @@
 
         'e' - Exponent notation. Prints the number in scientific
               notation using the letter 'e' to indicate the exponent.
-        'E' - Exponent notation. Same as 'e' except it uses an upper
-              case 'E' as the separator character.
+        'E' - Exponent notation. Same as 'e' except it converts the
+              number to uppercase.
         'f' - Fixed point. Displays the number as a fixed-point
               number.
-        'F' - Fixed point. Same as 'f'.
+        'F' - Fixed point. Same as 'f' except it converts the number
+              to uppercase.
         'g' - General format. This prints the number as a fixed-point
               number, unless the number is too large, in which case
               it switches to 'e' exponent notation.


More information about the Python-checkins mailing list