diff --git a/peps/pep-0701.rst b/peps/pep-0701.rst index f4b393d0b..b83ba92a2 100644 --- a/peps/pep-0701.rst +++ b/peps/pep-0701.rst @@ -373,8 +373,8 @@ tokens: 2. Keep consuming tokens until a one of the following is encountered: * A closing quote equal to the opening quote. - * If in "format specifier mode" (see step 3), an opening brace (``{``) or a - closing brace (``}``). + * If in "format specifier mode" (see step 3), an opening brace (``{``), a + closing brace (``}``), or a newline token (``\n``). * If not in "format specifier mode" (see step 3), an opening brace (``{``) or a closing brace (``}``) that is not immediately followed by another opening/closing brace.