Skip to content

Commit 99c9f41

Browse files
authored
DOC remove sphinx warnings related to if_delegate_has_method (scikit-learn#26504)
1 parent 8409b87 commit 99c9f41

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/whats_new/v1.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ Fixed models
262262
:pr:`20880` by :user:`Guillaume Lemaitre <glemaitre>`
263263
and :user:`András Simon <simonandras>`.
264264

265-
- |Fix| Solve a bug in :func:`~sklearn.utils.metaestimators.if_delegate_has_method`
265+
- |Fix| Solve a bug in ``sklearn.utils.metaestimators.if_delegate_has_method``
266266
where the underlying check for an attribute did not work with NumPy arrays.
267267
:pr:`21145` by :user:`Zahlii <Zahlii>`.
268268

doc/whats_new/v1.1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,7 @@ Changelog
13311331
`estimator` (previous name was `Estimator`). :pr:`22188` by
13321332
:user:`Mathurin Massias <mathurinm>`.
13331333

1334-
- |API| :func:`utils.metaestimators.if_delegate_has_method` is deprecated and will be
1334+
- |API| ``utils.metaestimators.if_delegate_has_method`` is deprecated and will be
13351335
removed in version 1.3. Use :func:`utils.metaestimators.available_if` instead.
13361336
:pr:`22830` by :user:`Jérémie du Boisberranger <jeremiedbb>`.
13371337

0 commit comments

Comments
 (0)