[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`.
This commit is contained in:
Rodrigo Girão Serrão 2021-06-28 23:02:18 +01:00 committed by GitHub
parent efe7d08d17
commit dcb1caef5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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