Skip to content

Commit

Permalink
Closes bpo-45712: Add missing word in control flow tutorial (GH-29460)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7484a5c)

Co-authored-by: 180909 <[email protected]>
  • Loading branch information
miss-islington and 180909 authored Nov 8, 2021
1 parent 69b3de6 commit 2c47922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/tutorial/controlflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand Down

0 comments on commit 2c47922

Please sign in to comment.