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

Skip to content

Commit 16ed088

Browse files
Sven Eschlbeckglemaitre
Sven Eschlbeck
authored andcommitted
DOC Correct wrong default value in check_scalar docstring (#22032)
1 parent f623af3 commit 16ed088

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