Skip to content

Commit ee5636f

Browse files
authored
[python][docs] Refer to string type as str in docstrings (#4565)
1 parent b765fa6 commit ee5636f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: python-package/lightgbm/dask.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,8 @@ def _train(
443443
Initial model score for each validation set in eval_set.
444444
eval_group : list of Dask Arrays, Dask Series or None, optional (default=None)
445445
Group/query for each validation set in eval_set.
446-
eval_metric : string, callable, list or None, optional (default=None)
447-
If string, it should be a built-in evaluation metric to use.
446+
eval_metric : str, callable, list or None, optional (default=None)
447+
If str, it should be a built-in evaluation metric to use.
448448
If callable, it should be a custom evaluation metric, see note below for more details.
449449
If list, it can be a list of built-in metrics, a list of custom evaluation metrics, or a mix of both.
450450
In either case, the ``metric`` from the Dask model parameters (or inferred from the objective) will be evaluated and used as well.

0 commit comments

Comments
 (0)