def _getitem_array1d(context, builder, arrayty, array, idx, wraparound):
 ptr = cgutils.get_item_pointer(builder, arrayty, array, [idx], wraparound=wraparound)
 return load_item(context, builder, arrayty, ptr)

def _getitem_array1d ( context , builder , arrayty , array , idx , wraparound ) : ptr = cgutils . get_item_pointer ( builder , arrayty , array , [ idx ] , wraparound = wraparound ) return load_item ( context , builder , arrayty , ptr )
look up and return an element from a 1d array .