[Python-checkins] [doc] Fix typo in what's new in 3.10 (GH-26911)
iritkatriel
webhook-mailer at python.org
Mon Jun 28 18:02:29 EDT 2021
https://github.com/python/cpython/commit/dcb1caef5bd8e90e1ecb4c07d7114e51b49fe37a
commit: dcb1caef5bd8e90e1ecb4c07d7114e51b49fe37a
branch: main
author: Rodrigo Girão Serrão <rodrigogiraoserrao at gmail.com>
committer: iritkatriel <1055913+iritkatriel at users.noreply.github.com>
date: 2021-06-28T23:02:18+01:00
summary:
[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`.
files:
M Doc/whatsnew/3.10.rst
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index 81481327b43e9b..cd3db5550a6bf4 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
More information about the Python-checkins
mailing list