| 1 |
from __future__ import annotations as _annotations |
| 2 |
|
| 3 |
|
| 4 |
def concat_message(left: str, right: str) -> str: |
| 5 |
"""Normalize `left` by removing trailing punctuation and spaces before appending new punctuation and `right`.""" |
| 6 |
return f'{left.rstrip(". ")}: {right}' |