File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ def __getitem__(self, key):
6767 if not isinstance (key , int ):
6868 # FIXME: we do not yet support fancy indexing here.
6969 # Fully expand the array then apply the fancy indexing.
70- return self [key [0 ]][* key [1 :]]
70+ return self [key [0 ]][tuple ( key [1 :]) ]
7171
7272 if self ._ndim == 2 :
7373 if key != 0 :
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ def __getitem__(self, key):
4848 if not isinstance (key , int ):
4949 # FIXME: we do not yet support fancy indexing here.
5050 # Fully expand the array then apply the fancy indexing.
51- return self [key [0 ]][* key [1 :]]
51+ return self [key [0 ]][tuple ( key [1 :]) ]
5252
5353 if self .singleframes :
5454 frame = None
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ def __getitem__(self, key):
114114 if not isinstance (key , int ):
115115 # FIXME: we do not yet support fancy indexing here.
116116 # Fully expand the array then apply the fancy indexing.
117- return self [key [0 ]][* key [1 :]]
117+ return self [key [0 ]][tuple ( key [1 :]) ]
118118
119119 count = key * self ._frame_bytes + self .skipbytes
120120
You can’t perform that action at this time.
0 commit comments