Skip to content

Commit

Permalink
Update docstring of warn_deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
bact committed Dec 13, 2024
1 parent 6ccc11c commit a31f117
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pythainlp/tools/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ def warn_deprecation(
:param str deprecated_func: Name of the deprecated function.
:param str replacing_func: Name of the function to use instead (optional).
:param str version: PyThaiNLP version in which the function will be deprecated (optional).
:param str deprecated_version: PyThaiNLP version in which the function will be deprecated (optional).
:param str removal_version: PyThaiNLP version in which the function will be removed (optional).
"""
message = f"The '{deprecated_func}' function is deprecated"
if deprecated_version:
Expand Down

0 comments on commit a31f117

Please sign in to comment.