Skip to content

Commit

Permalink
DOC remove sphinx warnings related to if_delegate_has_method (scikit-…
Browse files Browse the repository at this point in the history
  • Loading branch information
adrinjalali committed Jun 8, 2023
1 parent 8409b87 commit 99c9f41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/whats_new/v1.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ Fixed models
:pr:`20880` by :user:`Guillaume Lemaitre <glemaitre>`
and :user:`András Simon <simonandras>`.

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

Expand Down
2 changes: 1 addition & 1 deletion doc/whats_new/v1.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,7 @@ Changelog
`estimator` (previous name was `Estimator`). :pr:`22188` by
:user:`Mathurin Massias <mathurinm>`.

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

Expand Down

0 comments on commit 99c9f41

Please sign in to comment.