diff --git a/pep-0498.txt b/pep-0498.txt index 0a446aa55..4276f58bc 100644 --- a/pep-0498.txt +++ b/pep-0498.txt @@ -190,7 +190,8 @@ braces ``'{{'`` or ``'}}'`` inside literal portions of an f-string are replaced by the corresponding single brace. Doubled literal opening braces do not signify the start of an expression. A single closing curly brace ``'}'`` in the literal portion of a string is an error: -literal closing curly braces must be doubled ``'}}'``. +literal closing curly braces must be doubled ``'}}'`` in order to +represent a single closing brace. The parts of the f-string outside of braces are literal strings. These literal portions are then decoded. For non-raw