public void __delslice__(PyObject start, PyObject stop, PyObject step) { if (step != null) { __delitem__(new PySlice(start, stop, step)); return; } PyType self_type = getType(); PyObject impl = self_type.lookup("__delslice__"); if (impl != null) { PyObject[] indices = PySlice.indices2(this, start, stop); impl.__get__(this, self_type).__call__(indices[0], indices[1]); return; } super.__delslice__(start, stop, step); }