Eric V. Smith added the comment: See issue 27948 for adding backslashes back in to the string parts of an f-string. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue27921> _______________________________________