parameters: (self, iterable)
return_statement: return code
docstring: Build the unflatten opcode sequence for the given *iterable* structure
          (an iterable of nested sequences).
docstring_summary: Build the unflatten opcode sequence for the given *iterable* structure
          (an iterable of nested sequences).
docstring_tokens: Build the unflatten opcode sequence for the given * iterable * structure ( an iterable of nested sequences ) .
function: def _build_unflatten_code(self, iterable):
          """Build the unflatten opcode sequence for the given *iterable* structure
          (an iterable of nested sequences).
          """
          code = []
          def rec(iterable):
              for i in iterable:
                  if isinstance(i, (tuple, list)):
                      if len(i) > 0:
                          code.append(_PUSH_LIST)
                          rec(i)
                          code.append(_POP)
                      else:
                          code.append(_APPEND_EMPTY_TUPLE)
                  else:
                      code.append(_APPEND_NEXT_VALUE)
  
          rec(iterable)
          return code
function_tokens: def _build_unflatten_code ( self , iterable ) : code = [ ] def rec ( iterable ) : for i in iterable : if isinstance ( i , ( tuple , list ) ) : if len ( i ) > 0 : code . append ( _PUSH_LIST ) rec ( i ) code . append ( _POP ) else : code . append ( _APPEND_EMPTY_TUPLE ) else : code . append ( _APPEND_NEXT_VALUE ) rec ( iterable ) return code