(match: re.Match)
| 159 | return f"{audio_start_token}{step_tokens}{audio_end_token}" |
| 160 | |
| 161 | def replacer(match: re.Match) -> str: |
| 162 | return _build_block(next(lengths_iter)) |
| 163 | |
| 164 | return re.sub(re.escape(AUDIO_PLACEHOLDER), replacer, content) |
| 165 |
nothing calls this directly
no test coverage detected