Beispiel #1
0
        public virtual object AddSequence(object other)
        {
            Tuple o = other as Tuple;

            if (o == null)
            {
                throw Ops.TypeError("can only concatenate tuple (not \"{0}\") to tuple", Ops.GetDynamicType(other).__name__);
            }

            return(MakeTuple(ArrayOps.Add(data, data.Length, o.data, o.data.Length)));
        }