Skip to content

Commit 77878ca

Browse files
bpo-32790: Add info about alt format using GH- for 'g' in chart (GH-6624)
(cherry picked from commit d44542f) Co-authored-by: bchhabra2490 <[email protected]>
1 parent 0a5a1a1 commit 77878ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/string.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,8 @@ The available presentation types for floating point and decimal values are:
508508
| | with presentation type ``'e'`` and precision ``p-1``. |
509509
| | In both cases insignificant trailing zeros are removed |
510510
| | from the significand, and the decimal point is also |
511-
| | removed if there are no remaining digits following it. |
511+
| | removed if there are no remaining digits following it, |
512+
| | unless the ``'#'`` option is used. |
512513
| | |
513514
| | Positive and negative infinity, positive and negative |
514515
| | zero, and nans, are formatted as ``inf``, ``-inf``, |

0 commit comments

Comments
 (0)