Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change
ZTUtils.Lazy
to support slicing via _getitem__
.
`__getslice__` is deprecated since Python 2.0 :)) This adds support for extended slicing and the step argument. A lot of the classes defer to one common implementation for slicing support in the abstract Lazy subclass, but continue to implement their own efficient single key lookup.
- Loading branch information
Showing
1 changed file
with
28 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters