(self, value)
return value
Utility function which converts lists to tuples.
Utility function which converts lists to tuples.
Utility function which converts lists to tuples .
def as_tuple(self, value):
        """Utility function which converts lists to tuples."""
        if isinstance(value, list):
            value = tuple(value)
        return value
def as_tuple ( self , value ) : if isinstance ( value , list ) : value = tuple ( value ) return value