summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEric Smith <eric@trueblade.com>2008-07-17 19:18:29 (GMT)
committerEric Smith <eric@trueblade.com>2008-07-17 19:18:29 (GMT)
commit22b85b3ef85c50ce5053acb2860df858d040eb07 (patch)
treeab07c2d9efb0168302d489bd8489894ef0c38c06 /Doc
parenta4fac36eb3ee70529482d43d2a484d5ff5d18398 (diff)
downloadcpython-22b85b3ef85c50ce5053acb2860df858d040eb07.zip
cpython-22b85b3ef85c50ce5053acb2860df858d040eb07.tar.gz
cpython-22b85b3ef85c50ce5053acb2860df858d040eb07.tar.bz2
Backed out r65073, pending fixing it in Windows.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/stdtypes.rst4
-rw-r--r--Doc/library/string.rst7
2 files changed, 5 insertions, 6 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 5a20969..47bf42c 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -1223,9 +1223,9 @@ The conversion types are:
+------------+-----------------------------------------------------+-------+
| ``'E'`` | Floating point exponential format (uppercase). | \(3) |
+------------+-----------------------------------------------------+-------+
-| ``'f'`` | Floating point decimal format (lowercase). | \(3) |
+| ``'f'`` | Floating point decimal format. | \(3) |
+------------+-----------------------------------------------------+-------+
-| ``'F'`` | Floating point decimal format (uppercase). | \(3) |
+| ``'F'`` | Floating point decimal format. | \(3) |
+------------+-----------------------------------------------------+-------+
| ``'g'`` | Floating point format. Uses lowercase exponential | \(4) |
| | format if exponent is less than -4 or not less than | |
diff --git a/Doc/library/string.rst b/Doc/library/string.rst
index 1946979..07a2c4b 100644
--- a/Doc/library/string.rst
+++ b/Doc/library/string.rst
@@ -402,14 +402,13 @@ The available presentation types for floating point and decimal values are:
| ``'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 converts |
- | | the number to upper case. |
+ | ``'E'`` | Exponent notation. Same as ``'e'`` except it uses an |
+ | | upper case 'E' as the separator character. |
+---------+----------------------------------------------------------+
| ``'f'`` | Fixed point. Displays the number as a fixed-point |
| | number. |
+---------+----------------------------------------------------------+
- | ``'F'`` | Fixed point. Same as ``'f'`` except it converts the |
- | | number to upper case. |
+ | ``'F'`` | Fixed point. Same as ``'f'``. |
+---------+----------------------------------------------------------+
| ``'g'`` | General format. This prints the number as a fixed-point |
| | number, unless the number is too large, in which case |