Skip to content

Commit

Permalink
Cleanup is_cup()
Browse files Browse the repository at this point in the history
  • Loading branch information
danepitkin committed Sep 4, 2024
1 parent 6d12a4f commit 5c67cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyarrow/table.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -1444,7 +1444,7 @@ cdef class ChunkedArray(_PandasConvertible):
"""
Whether all chunks in the ChunkedArray are CPU-accessible.
"""
if self._init_is_cpu == False:
if not self._init_is_cpu:
self._is_cpu = self.chunked_array.is_cpu()
self._init_is_cpu = True
return self._is_cpu
Expand Down

0 comments on commit 5c67cd8

Please sign in to comment.