mirror of
https://github.com/python/cpython
synced 2024-10-06 12:57:41 +00:00
Closes bpo-45712: Add missing word in control flow tutorial (GH-29460)
This commit is contained in:
parent
99c7e9853f
commit
7484a5c82a
|
@ -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::
|
||||
|
||||
|
|
Loading…
Reference in a new issue