(&self)
| 1375 | type Resizable<'a> = PyRwLockWriteGuard<'a, ArrayContentType>; |
| 1376 | |
| 1377 | fn try_resizable_opt(&self) -> Option<Self::Resizable<'_>> { |
| 1378 | let w = self.write(); |
| 1379 | (self.exports.load(atomic::Ordering::SeqCst) == 0).then_some(w) |
| 1380 | } |
| 1381 | } |
| 1382 | |
| 1383 | #[pyattr] |