jorisvandenbossche commented on code in PR #43590:
URL: https://github.com/apache/arrow/pull/43590#discussion_r1756867166
##########
python/pyarrow/io.pxi:
##########
@@ -1446,6 +1446,38 @@ cdef class Buffer(_Weakrefable):
"""
return _wrap_device_allocation_type(self.buffer.get().device_type())
+ def copy(self, dest):
+ """
+ The buffer contents will be copied into a new buffer allocated onto
Review Comment:
```suggestion
Copy the buffer to the destination device.
The buffer contents will be copied into a new buffer allocated onto
```
To follow the standard docstring format of first having a 1-line summary,
and then optionally a multi-line extended explanation.
--
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]