Skip to content

Commit a6acd1a

Browse files
[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 dcb1cae) Co-authored-by: Rodrigo Girão Serrão <[email protected]>
1 parent dc10264 commit a6acd1a

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)