(match: Match[str])
| 95 | return code |
| 96 | |
| 97 | def _md_pycon_match(match: Match[str]) -> str: |
| 98 | code = _pycon_match(match) |
| 99 | code = textwrap.indent(code, match["indent"]) |
| 100 | return f"{match['before']}{code}{match['after']}" |
| 101 | |
| 102 | src = MD_RE.sub(_md_match, src) |
| 103 | src = MD_PYCON_RE.sub(_md_pycon_match, src) |
nothing calls this directly
no test coverage detected