Deprecated __getslice__ replaced with __getitem__