parameters: (self, value)
return_statement: return value
docstring: Utility function which converts lists to tuples.
docstring_summary: Utility function which converts lists to tuples.
docstring_tokens: Utility function which converts lists to tuples .
function: def as_tuple(self, value):
          """Utility function which converts lists to tuples."""
          if isinstance(value, list):
              value = tuple(value)
          return value
function_tokens: def as_tuple ( self , value ) : if isinstance ( value , list ) : value = tuple ( value ) return value