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
# License: public domain | |
class SimpleView(object): | |
""" | |
Simple view-like object of an array-like object. | |
Slices taken with __getitem__ are combined and stored for later use, | |
but the actual data is not extracted from the underlying array-like | |
object until __array__ is called. | |
Warnings about the current implementation: |