diff --git a/maint_tools/test_docstrings.py b/maint_tools/test_docstrings.py index 3171bbafe90a0..917b1097d5257 100644 --- a/maint_tools/test_docstrings.py +++ b/maint_tools/test_docstrings.py @@ -24,7 +24,6 @@ "ColumnTransformer", "ComplementNB", "CountVectorizer", - "DecisionTreeClassifier", "DecisionTreeRegressor", "DictVectorizer", "DictionaryLearning", diff --git a/sklearn/tree/_classes.py b/sklearn/tree/_classes.py index 289cb6718e46c..332eaff52118f 100644 --- a/sklearn/tree/_classes.py +++ b/sklearn/tree/_classes.py @@ -920,7 +920,7 @@ def fit( This parameter is deprecated and has no effect. It will be removed in 1.1 (renaming of 0.26). - .. deprecated :: 0.24 + .. deprecated:: 0.24 Returns -------