From: 180909 <734461790@qq.com> Date: Mon, 8 Nov 2021 16:51:01 +0000 (+0800) Subject: Closes bpo-45712: Add missing word in control flow tutorial (GH-29460) X-Git-Tag: v3.11.0a3~288 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7484a5c82a2dfc106bb1e4b060cad2df00521bfd;p=thirdparty%2FPython%2Fcpython.git Closes bpo-45712: Add missing word in control flow tutorial (GH-29460) --- diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst index fb3b140fe79b..a81975660261 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::