original_docstring: 
      Convert a nested list with arbitrary structure to a nested _tuple_ instead.
      
docstring: Convert a nested list with arbitrary structure to a nested _tuple_ instead.
docstring_tokens: Convert a nested list with arbitrary structure to a nested _tuple_ instead .
code: def _deep_tuple(item):
      """
      Convert a nested list with arbitrary structure to a nested _tuple_ instead.
      """
      if isinstance(item, list):
          # In the recursive case (item is a list), recursively deep_tuple-ify all 
          # list items, and store all items in a tuple intead.
          return tuple(_deep_tuple(i) for i in item)
      else:
          # In the base case (any items that are not lists, including some 
          # possibly deep objects like dicts, and tuples themselves), change 
          # nothing.
          return item
code_tokens: def _deep_tuple ( item ) : if isinstance ( item , list ) : return tuple ( _deep_tuple ( i ) for i in item ) else : return item
short_docstring: Convert a nested list with arbitrary structure to a nested _tuple_ instead.
short_docstring_tokens: Convert a nested list with arbitrary structure to a nested _tuple_ instead .
comment: """
      Convert a nested list with arbitrary structure to a nested _tuple_ instead.
      """$SEP$# In the recursive case (item is a list), recursively deep_tuple-ify all $SEP$# list items, and store all items in a tuple intead.$SEP$# In the base case (any items that are not lists, including some $SEP$# possibly deep objects like dicts, and tuples themselves), change $SEP$# nothing.