| 1528 | struct pyobject_caster { |
| 1529 | template <typename T = type, enable_if_t<std::is_same<T, handle>::value, int> = 0> |
| 1530 | pyobject_caster() : value() {} |
| 1531 | |
| 1532 | // `type` may not be default constructible (e.g. frozenset, anyset). Initializing `value` |
| 1533 | // to a nil handle is safe since it will only be accessed if `load` succeeds. |