jorisvandenbossche commented on issue #38325:
URL: https://github.com/apache/arrow/issues/38325#issuecomment-2047144639

   Python does that automatically for you (raising an error for an unknown 
keyword) if not adding `**kwargs`, so the main benefit of adding the explicit 
`**kwargs` is that it would allow a consumer to actually pass a keyword with a 
default value without getting an error, even if the producer didn't yet support 
that keyword?  
   I.e. so someone can do `obj.__arrow_c_device_array__(requested_device=None)` 
regardless of `obj` supporting that keyword or not. 


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