(match: re.Match[str])
| 463 | reason = reason.strip() |
| 464 | |
| 465 | def _format_name(match: re.Match[str]) -> str: |
| 466 | name = format_name(match.group(1)) |
| 467 | return f"{prefix}{name}{suffix}" |
| 468 | |
| 469 | return DEPRECATION_RE.sub(_format_name, reason) |
| 470 |
nothing calls this directly
no test coverage detected