parameters: (self, x)
return_statement: return (tuple(map(self._deep_tuple, x))
              if isinstance(x, (list, tuple)) else x)
docstring: Converts lists of lists to tuples of tuples.
docstring_summary: Converts lists of lists to tuples of tuples.
docstring_tokens: Converts lists of lists to tuples of tuples .
function: def _deep_tuple(self, x):
      """Converts lists of lists to tuples of tuples."""
      return (tuple(map(self._deep_tuple, x))
              if isinstance(x, (list, tuple)) else x)
function_tokens: def _deep_tuple ( self , x ) : return ( tuple ( map ( self . _deep_tuple , x ) ) if isinstance ( x , ( list , tuple ) ) else x )