(&self)
| 1912 | /// Whether this is a borrowed (non-owning) reference. |
| 1913 | #[inline(always)] |
| 1914 | pub fn is_borrowed(&self) -> bool { |
| 1915 | self.bits.get() & STACKREF_BORROW_TAG != 0 |
| 1916 | } |
| 1917 | |
| 1918 | /// Get a `&PyObject` reference. Works for both owned and borrowed. |
| 1919 | #[inline(always)] |