@@ -1107,7 +1107,7 @@ subject value:
11071107 If only keyword patterns are present, they are processed as follows,
11081108 one by one:
11091109
1110- I . The keyword is looked up as an attribute on the subject.
1110+ 1 . The keyword is looked up as an attribute on the subject.
11111111
11121112 * If this raises an exception other than :exc: `AttributeError `, the
11131113 exception bubbles up.
@@ -1119,13 +1119,13 @@ subject value:
11191119 pattern fails; if this succeeds, the match proceeds to the next keyword.
11201120
11211121
1122- II . If all keyword patterns succeed, the class pattern succeeds.
1122+ 2 . If all keyword patterns succeed, the class pattern succeeds.
11231123
11241124 If any positional patterns are present, they are converted to keyword
11251125 patterns using the :data: `~object.__match_args__ ` attribute on the class
11261126 ``name_or_attr `` before matching:
11271127
1128- I . The equivalent of ``getattr(cls, "__match_args__", ()) `` is called.
1128+ 1 . The equivalent of ``getattr(cls, "__match_args__", ()) `` is called.
11291129
11301130 * If this raises an exception, the exception bubbles up.
11311131
@@ -1143,8 +1143,8 @@ subject value:
11431143
11441144 .. seealso :: :ref:`class-pattern-matching`
11451145
1146- II . Once all positional patterns have been converted to keyword patterns,
1147- the match proceeds as if there were only keyword patterns.
1146+ 2 . Once all positional patterns have been converted to keyword patterns,
1147+ the match proceeds as if there were only keyword patterns.
11481148
11491149 For the following built-in types the handling of positional subpatterns is
11501150 different:
0 commit comments