mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Closes bpo-45712: Add missing word in control flow tutorial (GH-29460)
(cherry picked from commit 7484a5c82a)
Co-authored-by: 180909 <734461790@qq.com>
This commit is contained in:
parent
69b3de65ad
commit
2c4792264f
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
|
||||
``"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…
Add table
Add a link
Reference in a new issue