pitrou commented on code in PR #49750:
URL: https://github.com/apache/arrow/pull/49750#discussion_r3115918160


##########
python/pyarrow/io.pxi:
##########
@@ -1183,6 +1183,11 @@ cdef class OSFile(NativeFile):
     """
     A stream backed by a regular file descriptor.
 
+    Parameters
+    ----------
+    path : str or int
+        A file path or an open file descriptor.

Review Comment:
   Can you document the ownership of the file descriptor, i.e. that it gets 
closed when the file object itself is closed?



-- 
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]

Reply via email to