PEP 636 typo fix (#1849)

Fix minor typo:
"But **_ would be redundant, so it not allowed."
--> "But **_ would be redundant, so it is not allowed."
This commit is contained in:
Sean Lockwood 2021-02-27 17:28:46 -05:00 committed by GitHub
parent db3c43df95
commit c9f4cf2e8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -578,7 +578,7 @@ Several other key features:
- Mapping patterns: ``{"bandwidth": b, "latency": l}`` captures the - Mapping patterns: ``{"bandwidth": b, "latency": l}`` captures the
``"bandwidth"`` and ``"latency"`` values from a dict. Unlike sequence ``"bandwidth"`` and ``"latency"`` values from a dict. Unlike sequence
patterns, extra keys are ignored. A wildcard ``**rest`` is also 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:: - Subpatterns may be captured using the ``as`` keyword::