Skip to content

Commit

Permalink
fix for merge
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed May 8, 2024
1 parent c5a21a7 commit 6e5d45d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/src/nanoarrow/iterator.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def _child_names(self):

def __iter__(self):
"""Iterate over all elements in the current chunk"""
return self._iter_chunk(0, self._array_view.length)
return self._iter_chunk(0, len(self._array_view))

def _iter_chunk(self, offset, length):
"""Iterate over all elements in a slice of the current chunk"""
Expand Down

0 comments on commit 6e5d45d

Please sign in to comment.