mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Closes bpo-45712: Add missing word in control flow tutorial (GH-29460)
This commit is contained in:
parent
99c7e9853f
commit
7484a5c82a
1 changed files with 1 additions and 1 deletions
|
|
@ -378,7 +378,7 @@ Several other key features of this statement:
|
||||||
- Mapping patterns: ``{"bandwidth": b, "latency": l}`` captures the
|
- Mapping patterns: ``{"bandwidth": b, "latency": l}`` captures the
|
||||||
``"bandwidth"`` and ``"latency"`` values from a dictionary. Unlike sequence
|
``"bandwidth"`` and ``"latency"`` values from a dictionary. Unlike sequence
|
||||||
patterns, extra keys are ignored. An unpacking like ``**rest`` is also
|
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::
|
- Subpatterns may be captured using the ``as`` keyword::
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue