]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Closes bpo-45712: Add missing word in control flow tutorial (GH-29460)
author180909 <734461790@qq.com>
Mon, 8 Nov 2021 16:51:01 +0000 (00:51 +0800)
committerGitHub <noreply@github.com>
Mon, 8 Nov 2021 16:51:01 +0000 (10:51 -0600)
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::