def safestr(value):
    """
    Turns ``None`` into the string "<None>".

    :param str value: The value to safely stringify.

    :returns: The stringified version of ``value``.
    """

    return value or '<None>'