Skip to content

Commit e2fb8a2

Browse files
authored
Update lexical_analysis.rst (GH-17508)
Use Sphinx role markup for `str.format`. Automerge-Triggered-By: @csabella
1 parent 2145c8c commit e2fb8a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/reference/lexical_analysis.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ Top-level format specifiers may include nested replacement fields. These nested
704704
fields may include their own conversion fields and :ref:`format specifiers
705705
<formatspec>`, but may not include more deeply-nested replacement fields. The
706706
:ref:`format specifier mini-language <formatspec>` is the same as that used by
707-
the string .format() method.
707+
the :meth:`str.format` method.
708708

709709
Formatted string literals may be concatenated, but replacement fields
710710
cannot be split across literals.

0 commit comments

Comments
 (0)