Skip to content

Commit dcb1cae

Browse files
[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`.
1 parent efe7d08 commit dcb1cae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/whatsnew/3.10.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ have been incorporated. Some of the most notable ones are as follows:
278278
279279
.. code-block:: python
280280
281-
>>> try
281+
>>> try:
282282
... x = 2
283283
... something = 3
284284
File "<stdin>", line 3

0 commit comments

Comments
 (0)