HyukjinKwon commented on PR #39647:
URL: https://github.com/apache/spark/pull/39647#issuecomment-1397820215

   For Python, I believe we do it like:
   
   ```
   def function(a, b):
       """
       ...
   
       .. deprecated:: 3.4.0
           blah blah blah
   
       Parapeters
       -----------
       ...
       """
       warnings.warn("Deprecated in 3.4, blah blah.", FutureWarning)
       ...
   
   ```


-- 
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: reviews-unsubscr...@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to