public virtual object __getslice__(int start, int stop) { Slice.FixSliceArguments(_data.Length, ref start, ref stop); if (start == 0 && stop == _data.Length && this.GetType() == typeof(PythonTuple)) { return(this); } return(MakeTuple(ArrayOps.GetSlice(_data, start, stop))); }
public virtual object __getslice__(int start, int stop) { Slice.FixSliceArguments(_data.Length, ref start, ref stop); return(MakeTuple(ArrayOps.GetSlice(_data, start, stop))); }