Fix link to deferred idea for __match__
This commit is contained in:
parent
fbd23d76b6
commit
430718e6a5
|
@ -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
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue