From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 29 Jun 2021 11:12:23 +0000 (-0700) Subject: [doc] Fix typo in what's new in 3.10 (GH-26911) (GH-26940) X-Git-Tag: v3.10.0b4~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a6acd1ab08cf684d63beb290e246699dce54b539;p=thirdparty%2FPython%2Fcpython.git [doc] Fix typo in what's new in 3.10 (GH-26911) (GH-26940) The `try` statement was missing a colon and therefore was not exemplifying the correct `SyntaxError`. (cherry picked from commit dcb1caef5bd8e90e1ecb4c07d7114e51b49fe37a) Co-authored-by: Rodrigo Girão Serrão --- diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index 5e510d8f6ed3..7ac627ba19b0 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