jorisvandenbossche commented on code in PR #41889:
URL: https://github.com/apache/arrow/pull/41889#discussion_r1620807811
##########
python/pyarrow/io.pxi:
##########
@@ -1337,6 +1340,9 @@ cdef class Buffer(_Weakrefable):
return pyarrow_wrap_buffer(parent_buf)
def __getitem__(self, key):
+ if (not self.is_cpu):
Review Comment:
FWIW You don't need the brackets here
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]