filter_ordered_dict_by_value_type

filter_ordered_dict_by_value_type

filter_ordered_dict_by_value_type(w, od)[source]

Filters values of an ordered dictionary that correspond to a given type

Return type

OrderedDict[TypeVar(_Key), TypeVar(_Type)]

Returns

A new dictionary