Skip to content

Commit a31f117

Browse files
committed
Update docstring of warn_deprecation
1 parent 6ccc11c commit a31f117

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pythainlp/tools/core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ def warn_deprecation(
1919
2020
:param str deprecated_func: Name of the deprecated function.
2121
:param str replacing_func: Name of the function to use instead (optional).
22-
:param str version: PyThaiNLP version in which the function will be deprecated (optional).
22+
:param str deprecated_version: PyThaiNLP version in which the function will be deprecated (optional).
23+
:param str removal_version: PyThaiNLP version in which the function will be removed (optional).
2324
"""
2425
message = f"The '{deprecated_func}' function is deprecated"
2526
if deprecated_version:

0 commit comments

Comments
 (0)