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]:
634634 ... an array containing the square root of each element in ``x``
635635 ... '''
636636 ...
637- >>> case_block = r_case_block.match (sqrt.__doc__).group(1)
637+ >>> case_block = r_case_block.search (sqrt.__doc__).group(1)
638638 >>> unary_cases = parse_unary_case_block(case_block)
639639 >>> for case in unary_cases:
640640 ... print(repr(case))
@@ -1094,7 +1094,7 @@ def parse_binary_case_block(case_block: str) -> List[BinaryCase]:
10941094 ... an array containing the results
10951095 ... '''
10961096 ...
1097- >>> case_block = r_case_block.match (logaddexp.__doc__).group(1)
1097+ >>> case_block = r_case_block.search (logaddexp.__doc__).group(1)
10981098 >>> binary_cases = parse_binary_case_block(case_block)
10991099 >>> for case in binary_cases:
11001100 ... print(repr(case))
You can’t perform that action at this time.
0 commit comments