We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd3bf7f commit 374a5b0Copy full SHA for 374a5b0
docs/classes.rst
@@ -482,7 +482,7 @@ The binding code for this example looks as follows:
482
.value("Cat", Pet::Kind::Cat)
483
.export_values();
484
485
- py::class_<Pet::Attributes> attributes(pet, "Attributes")
+ py::class_<Pet::Attributes>(pet, "Attributes")
486
.def(py::init<>())
487
.def_readwrite("age", &Pet::Attributes::age);
488
0 commit comments