API 参考
A module that provides a class to mimic slice behavior.
MakeSlice
A class that returns the item itself when called, mimicking a slice object.
Source code in make_slice/__init__.py
4 5 6 7 8 9 | |
__getitem__(item)
Mimics the behavior of a slice object by returning the item itself.
Source code in make_slice/__init__.py
7 8 9 | |
options: show_source: true