]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Closes bpo-45712: Add missing word in control flow tutorial (GH-29460)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 8 Nov 2021 17:13:02 +0000 (09:13 -0800)
committerGitHub <noreply@github.com>
Mon, 8 Nov 2021 17:13:02 +0000 (09:13 -0800)
(cherry picked from commit 7484a5c82a2dfc106bb1e4b060cad2df00521bfd)

Co-authored-by: 180909 <734461790@qq.com>
Doc/tutorial/controlflow.rst

index fb3b140fe79bab5bfadec2efcffc96f5ab52c0f1..a8197566026122296272fa90e7ee528cae21ec08 100644 (file)
@@ -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::