(&self)
| 2056 | } |
| 2057 | |
| 2058 | pub(crate) fn current_exception(&self) -> Option<PyBaseExceptionRef> { |
| 2059 | self.exceptions.borrow().stack.last().cloned().flatten() |
| 2060 | } |
| 2061 | |
| 2062 | pub(crate) fn set_exception(&self, exc: Option<PyBaseExceptionRef>) { |
| 2063 | // don't be holding the RefCell guard while __del__ is called |
no test coverage detected