Skip to content

Commit

Permalink
bpo-32790: Add info about alt format using # for 'g' in chart (GH-6624)
Browse files Browse the repository at this point in the history
  • Loading branch information
bchhabra2490 authored and matrixise committed Sep 13, 2019
1 parent a67ac2f commit d44542f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doc/library/string.rst
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,8 @@ The available presentation types for floating point and decimal values are:
| | with presentation type ``'e'`` and precision ``p-1``. |
| | In both cases insignificant trailing zeros are removed |
| | 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 |
| | zero, and nans, are formatted as ``inf``, ``-inf``, |
Expand Down

0 comments on commit d44542f

Please sign in to comment.