diff options
author | Géry Ogam <gery.ogam@gmail.com> | 2020-06-12 12:54:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 12:54:29 (GMT) |
commit | e2fb8a2c42ee60c72a40d93da69e9efc4e359023 (patch) | |
tree | a1870bce80ca5e1f5cbf264e0191aa309bbc93c1 /Doc | |
parent | 2145c8c9724287a310bc77a2760d4f1c0ca9eb0c (diff) | |
download | cpython-e2fb8a2c42ee60c72a40d93da69e9efc4e359023.zip cpython-e2fb8a2c42ee60c72a40d93da69e9efc4e359023.tar.gz cpython-e2fb8a2c42ee60c72a40d93da69e9efc4e359023.tar.bz2 |
Update lexical_analysis.rst (GH-17508)
Use Sphinx role markup for `str.format`.
Automerge-Triggered-By: @csabella
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/reference/lexical_analysis.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst index e3a3a88..7d70cbc 100644 --- a/Doc/reference/lexical_analysis.rst +++ b/Doc/reference/lexical_analysis.rst @@ -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. |