def _arg_to_str(arg):
    """Convert argument to a string."""
    if isinstance(arg, str):
        return _sugar(repr(arg))
    elif arg is Empty:
        return '\u2014'
    else:
        return _sugar(str(arg))
Convert argument to a string.