def _get_borrowing_getitem(context, seqty):
 retty = seqty.dtype
 getitem_impl = context.get_function('getitem', signature(retty, seqty, types.intp))
 def wrap(builder, args):
  ret = getitem_impl(builder, args)
  if context.enable_nrt:
   context.nrt.decref(builder, retty, ret)
  return ret
 return wrap

def _get_borrowing_getitem ( context , seqty ) : retty = seqty . dtype getitem_impl = context . get_function ( 'getitem' , signature ( retty , seqty , types . intp ) ) def wrap ( builder , args ) : ret = getitem_impl ( builder , args ) if context . enable_nrt : context . nrt . decref ( builder , retty , ret ) return ret return wrap
return a getitem() implementation that doesnt incref its result .