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

Function export_values

include/pybind11/pybind11.h:3114–3119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3112 }
3113
3114 PYBIND11_NOINLINE void export_values() {
3115 dict entries = m_base.attr("__entries");
3116 for (auto kv : entries) {
3117 m_parent.attr(kv.first) = kv.second[int_(0)];
3118 }
3119 }
3120
3121 handle m_base;
3122 handle m_parent;

Callers

nothing calls this directly

Calls 2

int_Class · 0.85
attrMethod · 0.80

Tested by

no test coverage detected