code: def ensure_tuple(obj):
      
      if obj is None:
          return tuple()
      if isinstance(obj, Iterable) and not isinstance(obj, six.string_types):
          return tuple(obj)
      return obj,
docs: Try and make the given argument into a tuple.