diff options
author | Rodrigo Girão Serrão <rodrigogiraoserrao@gmail.com> | 2021-06-28 22:02:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-28 22:02:18 (GMT) |
commit | dcb1caef5bd8e90e1ecb4c07d7114e51b49fe37a (patch) | |
tree | 94847e6665241ee635f092fa6b599125c319a5bf /Doc/whatsnew | |
parent | efe7d08d178a7c09bcca994f2068b019c8633d83 (diff) | |
download | cpython-dcb1caef5bd8e90e1ecb4c07d7114e51b49fe37a.zip cpython-dcb1caef5bd8e90e1ecb4c07d7114e51b49fe37a.tar.gz cpython-dcb1caef5bd8e90e1ecb4c07d7114e51b49fe37a.tar.bz2 |
[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`.
Diffstat (limited to 'Doc/whatsnew')
-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 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 "<stdin>", line 3 |