File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -634,7 +634,7 @@ def parse_unary_case_block(case_block: str) -> List[UnaryCase]:
634
634
... an array containing the square root of each element in ``x``
635
635
... '''
636
636
...
637
- >>> case_block = r_case_block.match (sqrt.__doc__).group(1)
637
+ >>> case_block = r_case_block.search (sqrt.__doc__).group(1)
638
638
>>> unary_cases = parse_unary_case_block(case_block)
639
639
>>> for case in unary_cases:
640
640
... print(repr(case))
@@ -1094,7 +1094,7 @@ def parse_binary_case_block(case_block: str) -> List[BinaryCase]:
1094
1094
... an array containing the results
1095
1095
... '''
1096
1096
...
1097
- >>> case_block = r_case_block.match (logaddexp.__doc__).group(1)
1097
+ >>> case_block = r_case_block.search (logaddexp.__doc__).group(1)
1098
1098
>>> binary_cases = parse_binary_case_block(case_block)
1099
1099
>>> for case in binary_cases:
1100
1100
... print(repr(case))
You can’t perform that action at this time.
0 commit comments