def coerce_tuple(m):
    """
    Coerce the argument to tuple.
    """
    if isinstance(m, str):
        m = m,
    else:
        try:
            iter(m)
        except TypeError:
            m = m,
        else:
            m = tuple(m)
    return m
