Update lexical_analysis.rst (GH-17508)

Use Sphinx role markup for `str.format`.

Automerge-Triggered-By: @csabella
This commit is contained in:
Géry Ogam 2020-06-12 14:54:29 +02:00 committed by GitHub
parent 2145c8c972
commit e2fb8a2c42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -704,7 +704,7 @@ Top-level format specifiers may include nested replacement fields. These nested
fields may include their own conversion fields and :ref:`format specifiers
<formatspec>`, but may not include more deeply-nested replacement fields. The
:ref:`format specifier mini-language <formatspec>` is the same as that used by
the string .format() method.
the :meth:`str.format` method.
Formatted string literals may be concatenated, but replacement fields
cannot be split across literals.