| 2179 | } |
| 2180 | size_t size() const { return static_cast<size_t>(PyTuple_Size(m_ptr)); } |
| 2181 | bool empty() const { return size() == 0; } |
| 2182 | detail::tuple_accessor operator[](size_t index) const { return {*this, index}; } |
| 2183 | template <typename T, detail::enable_if_t<detail::is_pyobject<T>::value, int> = 0> |
| 2184 | detail::item_accessor operator[](T &&o) const { |
nothing calls this directly
no outgoing calls
no test coverage detected