pitrou commented on a change in pull request #7732: URL: https://github.com/apache/arrow/pull/7732#discussion_r764093714
########## File path: python/pyarrow/compat.pxi ########## @@ -52,13 +52,31 @@ except ImportError: def tobytes(o): + """ + Return with the byte representation of the string-like input object. + + Parameters + ---------- + o : bytes-like Review comment: ```suggestion o : str or bytes ``` -- 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