[Python-3000-checkins] r63152 - python/branches/py3k/Doc/library/string.rst
eric.smith
python-3000-checkins at python.org
Mon May 12 12:01:24 CEST 2008
Author: eric.smith
Date: Mon May 12 12:01:24 2008
New Revision: 63152
Log:
Document the 'n' integer presentation type for str.format().
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 Mon May 12 12:01:24 2008
@@ -383,6 +383,10 @@
| ``'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'`` |
+---------+----------------------------------------------------------+
More information about the Python-3000-checkins
mailing list