diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-06-29 04:12:23 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-29 12:12:23 +0100 |
| commit | a6acd1ab08cf684d63beb290e246699dce54b539 (patch) | |
| tree | 3590ac2beb4f6436dfc35497fcb829526904fc72 | |
| parent | dc10264eb880ed63fcf42c17057f3f5d879a0a0c (diff) | |
| download | cpython-git-a6acd1ab08cf684d63beb290e246699dce54b539.tar.gz | |
[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 <rodrigogiraoserrao@gmail.com>
| -rw-r--r-- | Doc/whatsnew/3.10.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index 5e510d8f6e..7ac627ba19 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 "<stdin>", line 3 |
