[Python-checkins] Closes bpo-45712: Add missing word in control flow tutorial (GH-29460)

miss-islington webhook-mailer at python.org
Mon Nov 8 12:13:09 EST 2021


https://github.com/python/cpython/commit/2c4792264f9218692a1bd87398a60591f756b171
commit: 2c4792264f9218692a1bd87398a60591f756b171
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-11-08T09:13:02-08:00
summary:

Closes bpo-45712: Add missing word in control flow tutorial (GH-29460)

(cherry picked from commit 7484a5c82a2dfc106bb1e4b060cad2df00521bfd)

Co-authored-by: 180909 <734461790 at qq.com>

files:
M Doc/tutorial/controlflow.rst

diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst
index fb3b140fe79ba..a819756602612 100644
--- a/Doc/tutorial/controlflow.rst
+++ b/Doc/tutorial/controlflow.rst
@@ -378,7 +378,7 @@ Several other key features of this statement:
 - Mapping patterns: ``{"bandwidth": b, "latency": l}`` captures the
   ``"bandwidth"`` and ``"latency"`` values from a dictionary.  Unlike sequence
   patterns, extra keys are ignored.  An unpacking like ``**rest`` is also
-  supported.  (But ``**_`` would be redundant, so it not allowed.)
+  supported.  (But ``**_`` would be redundant, so it is not allowed.)
 
 - Subpatterns may be captured using the ``as`` keyword::
 



More information about the Python-checkins mailing list