From 8c071373f12f325c54591fe990ec026184e48f8f Mon Sep 17 00:00:00 2001 From: Lele Gaifax Date: Tue, 3 Oct 2023 08:10:16 +0200 Subject: [PATCH] Fix typo in py312 whatsnew: add missing closing paren (#110255) --- Doc/whatsnew/3.12.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 6fe00bb9eb5df9..78ebe6e8e2c166 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -303,7 +303,7 @@ Let's cover these in detail: See :pep:`701` for more details. As a positive side-effect of how this feature has been implemented (by parsing f-strings -with :pep:`the PEG parser <617>`, now error messages for f-strings are more precise +with :pep:`the PEG parser <617>`), now error messages for f-strings are more precise and include the exact location of the error. For example, in Python 3.11, the following f-string raises a :exc:`SyntaxError`: