(text: str, repl: str = "_USER_")
return resources.RE_USER_HANDLE.sub(repl, text)
Replace all (Twitter-style) user handles in ``text`` with ``repl``.
Replace all (Twitter-style) user handles in ``text`` with ``repl``.
Replace all ( Twitter - style ) user handles in text with repl .
def user_handles(text: str, repl: str = "_USER_") -> str:
    """Replace all (Twitter-style) user handles in ``text`` with ``repl``."""
    return resources.RE_USER_HANDLE.sub(repl, text)
def user_handles ( text : str , repl : str = "_USER_" ) -> str : return resources . RE_USER_HANDLE . sub ( repl , text )