jorisvandenbossche commented on code in PR #33698:
URL: https://github.com/apache/arrow/pull/33698#discussion_r1072666646


##########
python/pyarrow/io.pxi:
##########
@@ -1402,8 +1421,14 @@ def allocate_buffer(int64_t size, MemoryPool 
memory_pool=None,
 
 cdef class BufferOutputStream(NativeFile):
     """
+    An output stream which writes data in-memory producing a pyarrow.Buffer

Review Comment:
   C++ uses "An output stream that writes to a resizable buffer". That's maybe 
a bit more generic? But in any case I would leave out the "as a result when 
get_value is called", as that is going into details for the summary line of the 
docstring. It could be mentioned as a second paragraph, though.



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to