| 293 | bool operator!=(const handle &h) const { return m_ptr != h.m_ptr; } |
| 294 | PYBIND11_DEPRECATED("Use handle::operator bool() instead") |
| 295 | bool check() const { return m_ptr != nullptr; } |
| 296 | |
| 297 | protected: |
| 298 | PyObject *m_ptr = nullptr; |
no outgoing calls
no test coverage detected