(match: re.Match[str], parse_float: ParseFloat)
| 114 | |
| 115 | |
| 116 | def match_to_number(match: re.Match[str], parse_float: ParseFloat) -> Any: |
| 117 | if match.group("floatpart"): |
| 118 | return parse_float(match.group()) |
| 119 | return int(match.group(), 0) |
no test coverage detected
searching dependent graphs…