@@ -397,7 +397,7 @@ and not for individual patterns.
397
397
return a + [p] + b
398
398
399
399
400
- .. _ patterns :
400
+ .. _ 635-patterns :
401
401
402
402
Patterns
403
403
--------
@@ -586,7 +586,7 @@ without adding a significant benefit. It can always be added later.
586
586
return expr
587
587
588
588
589
- .. _ literal_pattern :
589
+ .. _ 635-literal_pattern :
590
590
591
591
Literal Patterns
592
592
~~~~~~~~~~~~~~~~
@@ -675,7 +675,7 @@ being.
675
675
return expr
676
676
677
677
678
- .. _ capture_pattern :
678
+ .. _ 635-capture_pattern :
679
679
680
680
Capture Patterns
681
681
~~~~~~~~~~~~~~~~
@@ -734,7 +734,7 @@ especially given that we expect capture patterns to be very common.
734
734
return sum(a) / len(a)
735
735
736
736
737
- .. _ wildcard_pattern :
737
+ .. _ 635-wildcard_pattern :
738
738
739
739
Wildcard Pattern
740
740
~~~~~~~~~~~~~~~~
@@ -901,7 +901,7 @@ Allowing users to explicitly specify the grouping is particularly helpful
901
901
in case of OR patterns.
902
902
903
903
904
- .. _ sequence_pattern :
904
+ .. _ 635-sequence_pattern :
905
905
906
906
Sequence Patterns
907
907
~~~~~~~~~~~~~~~~~
@@ -961,7 +961,7 @@ enumerate all other types that may be used to represent bytes
961
961
(e.g. some, but not all, instances of ``memoryview `` and ``array.array ``).
962
962
963
963
964
- .. _ mapping_pattern :
964
+ .. _ 635-mapping_pattern :
965
965
966
966
Mapping Patterns
967
967
~~~~~~~~~~~~~~~~
@@ -1008,7 +1008,7 @@ unexpected side effect.
1008
1008
change_red_to_blue(child)
1009
1009
1010
1010
1011
- .. _ class_pattern :
1011
+ .. _ 635-class_pattern :
1012
1012
1013
1013
Class Patterns
1014
1014
~~~~~~~~~~~~~~
@@ -1278,13 +1278,3 @@ Copyright
1278
1278
1279
1279
This document is placed in the public domain or under the
1280
1280
CC0-1.0-Universal license, whichever is more permissive.
1281
-
1282
-
1283
- ..
1284
- Local Variables:
1285
- mode: indented-text
1286
- indent-tabs-mode: nil
1287
- sentence-end-double-space: t
1288
- fill-column: 70
1289
- coding: utf-8
1290
- End:
0 commit comments