(&self)
| 126 | /// Retrieves the marker type that proves that the GIL was acquired. |
| 127 | #[inline] |
| 128 | pub fn python(&self) -> Python<'_> { |
| 129 | unsafe { Python::assume_gil_acquired() } |
| 130 | } |
| 131 | |
| 132 | /// Checks if the current thread holds the GIL. |
| 133 | /// |
no outgoing calls