(iterable)
Return a copy of ``iterable`` with all ``None`` entries removed.

    If ``iterable`` is a mapping, return a dictionary where all pairs that have
    value ``None`` have been removed.
Return a copy of ``iterable`` with all ``None`` entries removed.
Return a copy of iterable with all None entries removed .
def without_none_values(iterable):
    """Return a copy of ``iterable`` with all ``None`` entries removed.

    If ``iterable`` is a mapping, return a dictionary where all pairs that have
    value ``None`` have been removed.
    """
    try:
        return {k: v for k, v in iterable.items() if v is not None}
    except AttributeError:
        return type(iterable)((v for v in iterable if v is not None))
def without_none_values ( iterable ) : try : return { k : v for k , v in iterable . items ( ) if v is not None } except AttributeError : return type ( iterable ) ( ( v for v in iterable if v is not None ) )