code: def dict_filter_nones(dict_):
      r
      dict2_ = {
          key: val
          for key, val in six.iteritems(dict_)
          if val is not None
      }
      return dict2_
docs: r"""
      Removes None values
  
      Args:
          dict_ (dict):  a dictionary
  
      Returns:
          dict:
  
      CommandLine:
          python -m utool.util_dict --exec-dict_filter_nones
  
      Example:
          >>> # DISABLE_DOCTEST
          >>> # UNSTABLE_DOCTEST
          >>> # fails on python 3 because of dict None order
          >>> from utool.util_dict import *  # NOQA
          >>> import utool as ut
          >>> dict_ = {1: None, 2: 'blue', 3: 'four', None: 'fun'}
          >>> dict2_ = dict_filter_nones(dict_)
          >>> result = ut.repr4(dict2_, nl=False)
          >>> print(result)
          {None: 'fun', 2: 'blue', 3: 'four'}