Skip to content

Commit d3f9f93

Browse files
committed
Suggest py::smart_holder for "most situations for safety"
1 parent b73f430 commit d3f9f93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/classes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ constructor (see the :ref:`custom_constructors` section for details).
4242
.. note::
4343

4444
Starting with pybind11v3, it is recommended to include `py::smart_holder`
45-
if you plan to support conversions to C++ smart pointers. See
46-
:ref:`smart_holder` for more information.
45+
in most situations for safety, especially if you plan to support conversions
46+
to C++ smart pointers. See :ref:`smart_holder` for more information.
4747

4848
An interactive Python session demonstrating this example is shown below:
4949

0 commit comments

Comments
 (0)