From ba5119c3d15ba54227e8215cc19b282e07fc8fa4 Mon Sep 17 00:00:00 2001 From: Dave Date: Fri, 20 Dec 2024 16:40:52 -0800 Subject: [PATCH] Make whitespace clear in debug spec --- peps/pep-0750.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/peps/pep-0750.rst b/peps/pep-0750.rst index 193eb029b..2718c8721 100644 --- a/peps/pep-0750.rst +++ b/peps/pep-0750.rst @@ -487,8 +487,8 @@ In particular, ``t'{expr=}'`` is treated as ``t'expr={expr!r}'``: If a separate format string is also provided, ``t'{expr=:fmt}`` is treated instead as ``t'expr={expr!s:fmt}'``. -Whitespace is preserved in the debug specifier, so ``t'{expr =}'`` is treated as -``t'expr ={expr!r}'``. +Whitespace is preserved in the debug specifier, so ``t'{expr = }'`` is treated as +``t'expr = {expr!r}'``. Raw Template Strings