[Python-checkins] r72339 - python/branches/py3k/Doc/library/string.rst

eric.smith python-checkins at python.org
Tue May 5 18:42:59 CEST 2009


Author: eric.smith
Date: Tue May  5 18:42:58 2009
New Revision: 72339

Log:
Documentation for Issue #5920.

Modified:
   python/branches/py3k/Doc/library/string.rst

Modified: python/branches/py3k/Doc/library/string.rst
==============================================================================
--- python/branches/py3k/Doc/library/string.rst	(original)
+++ python/branches/py3k/Doc/library/string.rst	Tue May  5 18:42:58 2009
@@ -434,7 +434,10 @@
    | ``'%'`` | Percentage. Multiplies the number by 100 and displays    |
    |         | in fixed (``'f'``) format, followed by a percent sign.   |
    +---------+----------------------------------------------------------+
-   | None    | The same as ``'g'``.                                     |
+   | None    | Similar to ``'g'``, except with at least one decimal     |
+   |         | point and a default precision of 12. This is intended to |
+   |         | match :func:`str`, except you can add the other          |
+   |         | format modifiers.                                        |
    +---------+----------------------------------------------------------+
 
 


More information about the Python-checkins mailing list