Deprecated copy of `ftfy.apply_plan()`.
(text: str, plan: list[tuple[str, str]])
| 59 | |
| 60 | |
| 61 | def apply_plan(text: str, plan: list[tuple[str, str]]) -> str: |
| 62 | """ |
| 63 | Deprecated copy of `ftfy.apply_plan()`. |
| 64 | """ |
| 65 | warnings.warn( |
| 66 | "`apply_plan()` has moved to the main module of ftfy.", |
| 67 | DeprecationWarning, |
| 68 | stacklevel=2, |
| 69 | ) |
| 70 | return ftfy.apply_plan(text, plan) |
| 71 | |
| 72 | |
| 73 | def _unescape_fixup(match: Match[str]) -> str: |
no outgoing calls