parameters: (context, builder, sig, args)
return_statement: return impl_ret_borrowed(
          context,
          builder,
          sig.return_type,
          it._getvalue(),
      )
docstring: Implement iter(List).
docstring_summary: Implement iter(List).
docstring_tokens: Implement iter ( List ) .
function: def impl_list_getiter(context, builder, sig, args):
      """Implement iter(List).
      """
      [tl] = sig.args
      [l] = args
      iterablety = types.ListTypeIterableType(tl)
      it = context.make_helper(builder, iterablety.iterator_type)
  
      fnty = ir.FunctionType(
          ir.VoidType(),
          [ll_listiter_type, ll_list_type],
      )
  
      fn = builder.module.get_or_insert_function(fnty, name='numba_list_iter')
  
      proto = ctypes.CFUNCTYPE(ctypes.c_size_t)
      listiter_sizeof = proto(_helperlib.c_helpers['list_iter_sizeof'])
      state_type = ir.ArrayType(ir.IntType(8), listiter_sizeof())
  
      pstate = cgutils.alloca_once(builder, state_type, zfill=True)
      it.state = _as_bytes(builder, pstate)
      it.parent = l
  
      dp = _container_get_data(context, builder, iterablety.parent, args[0])
      builder.call(fn, [it.state, dp])
      return impl_ret_borrowed(
          context,
          builder,
          sig.return_type,
          it._getvalue(),
      )
function_tokens: def impl_list_getiter ( context , builder , sig , args ) : [ tl ] = sig . args [ l ] = args iterablety = types . ListTypeIterableType ( tl ) it = context . make_helper ( builder , iterablety . iterator_type ) fnty = ir . FunctionType ( ir . VoidType ( ) , [ ll_listiter_type , ll_list_type ] , ) fn = builder . module . get_or_insert_function ( fnty , name = 'numba_list_iter' ) proto = ctypes . CFUNCTYPE ( ctypes . c_size_t ) listiter_sizeof = proto ( _helperlib . c_helpers [ 'list_iter_sizeof' ] ) state_type = ir . ArrayType ( ir . IntType ( 8 ) , listiter_sizeof ( ) ) pstate = cgutils . alloca_once ( builder , state_type , zfill = True ) it . state = _as_bytes ( builder , pstate ) it . parent = l dp = _container_get_data ( context , builder , iterablety . parent , args [ 0 ] ) builder . call ( fn , [ it . state , dp ] ) return impl_ret_borrowed ( context , builder , sig . return_type , it . _getvalue ( ) , )