From fc3a4490b879cce20a7e1b1454f0f7f5a0bc08c6 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Wed, 1 Jul 2020 00:25:17 +0200 Subject: [PATCH] Minor clarification (@AntoinePrv, #2083) --- docs/advanced/classes.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/advanced/classes.rst b/docs/advanced/classes.rst index 70393b55e..0d50cba51 100644 --- a/docs/advanced/classes.rst +++ b/docs/advanced/classes.rst @@ -298,8 +298,8 @@ The classes are then registered with pybind11 using: .. code-block:: cpp py::class_> animal(m, "Animal"); - py::class_> dog(m, "Dog"); - py::class_> husky(m, "Husky"); + py::class_> dog(m, "Dog"); + py::class_> husky(m, "Husky"); // ... add animal, dog, husky definitions Note that ``Husky`` did not require a dedicated trampoline template class at