mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
[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:
parent
efe7d08d17
commit
dcb1caef5b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue