Skip to content

Commit

Permalink
fix RangeColumns, closes #2356
Browse files Browse the repository at this point in the history
  • Loading branch information
fzumstein committed Dec 11, 2023
1 parent 90052e6 commit 28b5ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xlwings/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3052,7 +3052,7 @@ def __call__(self, key):

def __getitem__(self, key):
if isinstance(key, slice):
return RangeRows(rng=self.rng[:, key])
return RangeColumns(rng=self.rng[:, key])
elif isinstance(key, int):
return self.rng[:, key]
else:
Expand Down

0 comments on commit 28b5ff3

Please sign in to comment.