(string: str, index: int, ch: str)
| 15 | |
| 16 | |
| 17 | def replaceAt(string: str, index: int, ch: str) -> str: |
| 18 | # When the index is negative, the behavior is different from the js version. |
| 19 | # But basically, the index will not be negative. |
| 20 | assert index >= 0 |
| 21 | return string[:index] + ch + string[index + 1 :] |
| 22 | |
| 23 | |
| 24 | def process_inlines(tokens: list[Token], state: StateCore) -> None: |
no outgoing calls
no test coverage detected
searching dependent graphs…