Skip to content

Commit

Permalink
PEP 636 typo fix (#1849)
Browse files Browse the repository at this point in the history
Fix minor typo:
"But **_ would be redundant, so it not allowed."
--> "But **_ would be redundant, so it is not allowed."
  • Loading branch information
sean-lockwood authored Feb 27, 2021
1 parent db3c43d commit c9f4cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pep-0636.rst
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ Several other key features:
- Mapping patterns: ``{"bandwidth": b, "latency": l}`` captures the
``"bandwidth"`` and ``"latency"`` values from a dict. Unlike sequence
patterns, extra keys are ignored. A wildcard ``**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 c9f4cf2

Please sign in to comment.