MCPcopy Create free account
hub / github.com/pybind/pybind11 / NestBase

Class NestBase

tests/test_class.cpp:493–493  ·  view source on GitHub ↗

test_qualname #1166: nested class docstring doesn't show nested name Also related: tests that __qualname__ is set properly

Source from the content-addressed store, hash-verified

491 // #1166: nested class docstring doesn't show nested name
492 // Also related: tests that __qualname__ is set properly
493 struct NestBase {};
494 struct Nested {};
495 py::class_<NestBase> base(m, "NestBase");
496 base.def(py::init<>());

Callers 1

PYBIND11_OVERRIDEFunction · 0.85

Calls

no outgoing calls

Tested by 1

PYBIND11_OVERRIDEFunction · 0.68