Skip to content

Commit 473365c

Browse files
committed
fixed bug in class Range (io/excel.py) --> reintroduced __larray__ which was removed in commit edff2f3 although __getattr__ and __str__ still use it.
1 parent 063e3bf commit 473365c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

larray/io/excel.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,9 @@ def __index__(self):
441441
def __array__(self, dtype=None):
442442
return np.array(self._converted_value(), dtype=dtype)
443443

444+
def __larray__(self, dtype=None):
445+
return LArray(self.__array__(dtype))
446+
444447
def __dir__(self):
445448
return list(set(dir(self.__class__)) | set(dir(self.xw_range)))
446449

0 commit comments

Comments
 (0)