Fix link to deferred idea for __match__

This commit is contained in:
Guido van Rossum 2020-06-28 20:30:08 -07:00
parent fbd23d76b6
commit 430718e6a5
1 changed files with 3 additions and 1 deletions

View File

@ -601,7 +601,7 @@ The procedure is as following:
``__match_args__``, else the match raises ``ImpossibleMatchError``. ``__match_args__``, else the match raises ``ImpossibleMatchError``.
Such a protocol favors simplicity of implementation over flexibility and Such a protocol favors simplicity of implementation over flexibility and
performance. For other considered alternatives, see `rejected ideas`_. performance. For other considered alternatives, see `extended matching`_.
For the most commonly-matched built-in types (``bool``, For the most commonly-matched built-in types (``bool``,
``bytearray``, ``bytes``, ``dict``, ``float``, ``bytearray``, ``bytes``, ``dict``, ``float``,
@ -1575,6 +1575,8 @@ Note that you **can** use the same name more than once in alternate choices::
# etc. # etc.
.. _extended matching:
Extended matching protocol Extended matching protocol
-------------------------- --------------------------