MCPcopy Create free account
hub / github.com/boostorg/histogram / axis_interval_view_to_python

Class axis_interval_view_to_python

src/python/axis.cpp:64–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63template <typename Axis>
64struct axis_interval_view_to_python {
65 static PyObject* convert(const bha::interval_view<Axis>& i) {
66 return bp::incref(bp::make_tuple(i.lower(), i.upper()).ptr());
67 }
68};
69
70bp::object variable_init(bp::tuple args, bp::dict kwargs) {
71 bp::object self = args[0];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected