File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -377,11 +377,11 @@ bit set:
377
377
- ``range ``
378
378
- ``tuple ``
379
379
380
- Note ::
380
+ .. note ::
381
381
382
- Although, ``str``, ``bytes`` and ``bytearray`` are usually considered sequences,
383
- they are not included in the above list and not considered to be sequences
384
- when matching a sequence pattern .
382
+ Although ``str ``, ``bytes ``, and ``bytearray `` are usually
383
+ considered sequences, they are not included in the above list and do
384
+ not match sequence patterns .
385
385
386
386
A fixed-length sequence pattern fails if the length of the subject
387
387
sequence is not equal to the number of subpatterns.
@@ -442,7 +442,7 @@ where being a mapping is defined as its class being one of the following:
442
442
- a builtin class that has its ``Py_TPFLAGS_MAPPING `` bit set
443
443
- a class that inherits from any of the above.
444
444
445
- The standard library classes ``dict `` and ``mappingroxy `` will have their ``Py_TPFLAGS_MAPPING ``
445
+ The standard library classes ``dict `` and ``mappingproxy `` will have their ``Py_TPFLAGS_MAPPING ``
446
446
bit set.
447
447
448
448
A mapping pattern succeeds if every key given in the mapping pattern
You can’t perform that action at this time.
0 commit comments