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

Skip to content

Commit d1b12ac

Browse files
Sven Eschlbeckglemaitre
authored andcommitted
DOC Correct wrong default value in check_scalar docstring (scikit-learn#22032)
1 parent d1b362d commit d1b12ac

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
@@ -1275,7 +1275,7 @@ def check_scalar(
12751275
The minimum valid value the parameter can take. If None (default) it
12761276
is implied that the parameter does not have a lower bound.
12771277
1278-
max_val : float or int, default=False
1278+
max_val : float or int, default=None
12791279
The maximum valid value the parameter can take. If None (default) it
12801280
is implied that the parameter does not have an upper bound.
12811281

0 commit comments

Comments
 (0)
0