From dcb1caef5bd8e90e1ecb4c07d7114e51b49fe37a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Gir=C3=A3o=20Serr=C3=A3o?= Date: Mon, 28 Jun 2021 23:02:18 +0100 Subject: [doc] Fix typo in what's new in 3.10 (GH-26911) The `try` statement was missing a colon and therefore was not exemplifying the correct `SyntaxError`. --- Doc/whatsnew/3.10.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index 8148132..cd3db55 100644 --- a/Doc/whatsnew/3.10.rst +++ b/Doc/whatsnew/3.10.rst @@ -278,7 +278,7 @@ have been incorporated. Some of the most notable ones are as follows: .. code-block:: python - >>> try + >>> try: ... x = 2 ... something = 3 File "", line 3 -- cgit v0.12