Skip to content

Commit 681112d

Browse files
Apply suggestions from code review
Co-authored-by: Stan Ulbrych <[email protected]>
1 parent 6468a97 commit 681112d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/stdtypes.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2568,8 +2568,8 @@ the equal sign, and the value of the expression.
25682568
This is often useful for debugging::
25692569

25702570
>>> number = 14.3
2571-
>>> 'number=14.3'
2572-
number=14.3
2571+
>>> f'{number=}'
2572+
'number=14.3'
25732573

25742574
Whitespace before, inside and after the expression, as well as whitespace
25752575
after the equal sign, is significant --- it is retained in the result::
@@ -2582,7 +2582,7 @@ Conversion specifier
25822582
^^^^^^^^^^^^^^^^^^^^
25832583

25842584
By default, the value of a replacement field expression is converted to
2585-
string using :func:`str`::
2585+
a string using :func:`str`::
25862586

25872587
>>> from fractions import Fraction
25882588
>>> one_third = Fraction(1, 3)

0 commit comments

Comments
 (0)