from typing import Any


def _wildcard_if_none(potentially_none: Any) -> str:
    """Turn None into *, otherwise returns str form of argument."""
    if potentially_none is None:
        return "*"
    return str(potentially_none)