From: Rodrigo Girão Serrão Date: Mon, 28 Jun 2021 22:02:18 +0000 (+0100) Subject: [doc] Fix typo in what's new in 3.10 (GH-26911) X-Git-Tag: v3.11.0a1~772 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dcb1caef5bd8e90e1ecb4c07d7114e51b49fe37a;p=thirdparty%2FPython%2Fcpython.git [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`. --- diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index 81481327b43e..cd3db5550a6b 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