Skip to content

Commit

Permalink
Fix whitespace accident (indentation) introduced with 1e646c9
Browse files Browse the repository at this point in the history
Apparently the mis-indentation was introduced when resolving merge conflicts for what became 1e646c9
  • Loading branch information
rwgk committed Mar 3, 2025
1 parent b50bf21 commit 5b5be0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/advanced/classes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ practice to always use the base class, in combination with

.. note::
For completeness, the base class has no effect if a holder other than
``py::smart_holder`` used, including the default ``std::unique_ptr<T>``.
Please think twice, though, the pitfalls are very real, and the overhead
for using the safer ``py::smart_holder`` is very likely to be in the noise.
``py::smart_holder`` used, including the default ``std::unique_ptr<T>``.
Please think twice, though, the pitfalls are very real, and the overhead
for using the safer ``py::smart_holder`` is very likely to be in the noise.

The macro :c:macro:`PYBIND11_OVERRIDE_PURE` should be used for pure virtual
functions, and :c:macro:`PYBIND11_OVERRIDE` should be used for functions which have
Expand Down

0 comments on commit 5b5be0e

Please sign in to comment.