[Python-checkins] (no subject)

Géry Ogam webhook-mailer at python.org
Fri Jun 12 08:54:34 EDT 2020




To: python-checkins at python.org
Subject: Update lexical_analysis.rst (GH-17508)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

https://github.com/python/cpython/commit/e2fb8a2c42ee60c72a40d93da69e9efc4e35=
9023
commit: e2fb8a2c42ee60c72a40d93da69e9efc4e359023
branch: master
author: G=C3=A9ry Ogam <gery.ogam at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-06-12T05:54:29-07:00
summary:

Update lexical_analysis.rst (GH-17508)



Use Sphinx role markup for `str.format`.

Automerge-Triggered-By: @csabella

files:
M Doc/reference/lexical_analysis.rst

diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analy=
sis.rst
index e3a3a88757ed2..7d70cbcaa372a 100644
--- a/Doc/reference/lexical_analysis.rst
+++ b/Doc/reference/lexical_analysis.rst
@@ -704,7 +704,7 @@ Top-level format specifiers may include nested replacemen=
t 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.
=20
 Formatted string literals may be concatenated, but replacement fields
 cannot be split across literals.



More information about the Python-checkins mailing list