summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
author180909 <734461790@qq.com>2021-11-08 16:51:01 (GMT)
committerGitHub <noreply@github.com>2021-11-08 16:51:01 (GMT)
commit7484a5c82a2dfc106bb1e4b060cad2df00521bfd (patch)
tree84095a432791ad9f058ec669a56092dd946ba125 /Doc
parent99c7e9853fa13af414168f179213e3d2fae03a45 (diff)
downloadcpython-7484a5c82a2dfc106bb1e4b060cad2df00521bfd.zip
cpython-7484a5c82a2dfc106bb1e4b060cad2df00521bfd.tar.gz
cpython-7484a5c82a2dfc106bb1e4b060cad2df00521bfd.tar.bz2
Closes bpo-45712: Add missing word in control flow tutorial (GH-29460)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tutorial/controlflow.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst
index fb3b140..a819756 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::