bpo-32790: Add info about alt format using # for 'g' in chart (GH-6624)

This commit is contained in:
bchhabra2490 2019-09-13 22:50:21 +05:30 committed by Stéphane Wirtel
parent a67ac2f2d9
commit d44542f9a2
1 changed files with 2 additions and 1 deletions

View File

@ -508,7 +508,8 @@ The available presentation types for floating point and decimal values are:
| | with presentation type ``'e'`` and precision ``p-1``. | | | with presentation type ``'e'`` and precision ``p-1``. |
| | In both cases insignificant trailing zeros are removed | | | In both cases insignificant trailing zeros are removed |
| | from the significand, and the decimal point is also | | | from the significand, and the decimal point is also |
| | removed if there are no remaining digits following it. | | | removed if there are no remaining digits following it, |
| | unless the ``'#'`` option is used. |
| | | | | |
| | Positive and negative infinity, positive and negative | | | Positive and negative infinity, positive and negative |
| | zero, and nans, are formatted as ``inf``, ``-inf``, | | | zero, and nans, are formatted as ``inf``, ``-inf``, |