PEP 634: Fix code block markup (#1682)
This commit is contained in:
parent
ea098c122f
commit
e2bbee5cbf
|
@ -319,7 +319,7 @@ subject value (using the ``==`` operator).
|
|||
Group Patterns
|
||||
^^^^^^^^^^^^^^
|
||||
|
||||
Syntax:
|
||||
Syntax::
|
||||
|
||||
group_pattern: '(' pattern ')'
|
||||
|
||||
|
@ -418,7 +418,7 @@ A mapping pattern fails if the subject value is not an instance of
|
|||
``collections.abc.Mapping``.
|
||||
|
||||
A mapping pattern succeeds if every key given in the mapping pattern
|
||||
is present in the subject mapping, and the pattern for
|
||||
is present in the subject mapping, and the pattern for
|
||||
each key matches the corresponding item of the subject mapping. Keys
|
||||
are always compared with the ``==`` operator. If a ``'**'
|
||||
NAME`` form is present, that name is bound to a ``dict`` containing
|
||||
|
|
Loading…
Reference in New Issue