Searched refs:static_prop (Results 1 - 1 of 1) sorted by relevance

/gem5/ext/pybind11/include/pybind11/detail/
H A Dclass.h106 /** Types with static properties need to handle `Type.static_prop = x` in a specific way.
116 // 1. `Type.static_prop = value` --> descr_set: `Type.static_prop.__set__(value)`
117 // 2. `Type.static_prop = other_static_prop` --> setattro: replace existing `static_prop`
119 const auto static_prop = (PyObject *) get_internals().static_property_type; local
120 const auto call_descr_set = descr && PyObject_IsInstance(descr, static_prop)
121 && !PyObject_IsInstance(value, static_prop);

Completed in 5 milliseconds