From 5e18a208dc39856132056cad5ae3f77a9b711499 Mon Sep 17 00:00:00 2001 From: Eric Smith Date: Mon, 12 May 2008 10:01:24 +0000 Subject: [PATCH] Document the 'n' integer presentation type for str.format(). --- Doc/library/string.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/library/string.rst b/Doc/library/string.rst index 99c2c80d203..461f466e66a 100644 --- a/Doc/library/string.rst +++ b/Doc/library/string.rst @@ -383,6 +383,10 @@ The available integer presentation types are: | ``'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'`` | +---------+----------------------------------------------------------+