code: def getitem(lhs, rhs, offset=0):
      if offset == 0:
          return lhs[rhs]
      return lhs[(slice(None),) * offset + (rhs,)]
  
imports: import math
  import operator
  from numbers import Number
  from .op import BINARY_INVERSES, DISTRIBUTIVE_OPS, PRODUCT_TO_POWER, SAFE_BINARY_INVERSES, UNARY_INVERSES, UNITS, BinaryOp, Op, OpMeta, TransformOp, UnaryOp, declare_op_types
label_desc: Use image node_id 2 for calling a global function with example usage: getitem(lhs, rhs, offset) and returns: lhs, lhs