code: def _make_wrapped_arith_op(opname):
      meth = getattr(TimedeltaArray, opname)
  
      def method(self, other):
          result = meth(self._data, maybe_unwrap_index(other))
          return wrap_arithmetic_op(self, other, result)
  
      method.__name__ = opname
      return method
  
imports: from datetime import datetime
  import warnings
  import numpy
  from pandas._libs import NaT, Timedelta, index, join, lib
  import pandas.compat
  from pandas.util._decorators import Appender, Substitution
  from pandas.core.dtypes.common import _TD_DTYPE, ensure_int64, is_float, is_integer, is_list_like, is_scalar, is_timedelta64_dtype, is_timedelta64_ns_dtype, pandas_dtype
  import pandas.core.dtypes.concat
  from pandas.core.dtypes.missing import isna
  from pandas.core.accessor import delegate_names
  from pandas.core.arrays import datetimelike
  from pandas.core.arrays.timedeltas import TimedeltaArray, _is_convertible_to_td
  from pandas.core.base import _shared_docs
  import pandas.core.common
  from pandas.core.indexes.base import Index, _index_shared_docs
  from pandas.core.indexes.datetimelike import DatetimeIndexOpsMixin, DatetimelikeDelegateMixin, maybe_unwrap_index, wrap_arithmetic_op
  from pandas.core.indexes.numeric import Int64Index
  from pandas.core.ops import get_op_result_name
  from pandas.tseries.frequencies import to_offset
label_desc: Use image node_id 1 for calling a global function with example usage: _make_wrapped_arith_op(opname) and returns: method, wrap_arithmetic_op