[Python-checkins] Closes bpo-45712: Add missing word in control flow tutorial (GH-29460)
zware
webhook-mailer at python.org
Mon Nov 8 11:51:10 EST 2021
https://github.com/python/cpython/commit/7484a5c82a2dfc106bb1e4b060cad2df00521bfd
commit: 7484a5c82a2dfc106bb1e4b060cad2df00521bfd
branch: main
author: 180909 <734461790 at qq.com>
committer: zware <zachary.ware at gmail.com>
date: 2021-11-08T10:51:01-06:00
summary:
Closes bpo-45712: Add missing word in control flow tutorial (GH-29460)
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