from typing import Any


def tuple_(obj: Any) -> tuple:
    """Converts any object to tuple. ``string`` to ``(string,)``."""
    if isinstance(obj, str):
        return obj,
    try:
        return tuple(obj)
    except TypeError:
        return obj,