(xs)
Returns a tuple from a list, a tuple, or a single element.
Returns a tuple from a list, a tuple, or a single element.
Returns a tuple from a list a tuple or a single element .
def _make_tuple(xs):
  """Returns a tuple from a list, a tuple, or a single element."""
  if isinstance(xs, (list, tuple)):
    return tuple(xs)
  else:
    return (xs,)
def _make_tuple ( xs ) : if isinstance ( xs , ( list , tuple ) ) : return tuple ( xs ) else : return ( xs , )