8000 DOC Correct wrong default value in check_scalar docstring (#22032) · venkyyuvy/scikit-learn@0ae299b · GitHub
[go: up one dir, main page]

Skip to content

Commit 0ae299b

Browse files
Sven Eschlbeckvenkyyuvy
authored andcommitted
DOC Correct wrong default value in check_scalar docstring (scikit-learn#22032)
1 parent 6b06ae7 commit 0ae299b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/utils/validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,7 @@ def check_scalar(
13771377
The minimum valid value the parameter can take. If None (default) it
13781378
is implied that the parameter does not have a lower bound.
13791379
1380-
max_val : float or int, default=False
1380+
max_val : float or int, default=None
13811381
The maximum valid value the parameter can take. If None (default) it
13821382
is implied that the parameter does not have an upper bound.
13831383

0 commit comments

Comments
 (0)
0