MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / assume_gil_acquired

Method assume_gil_acquired

src/python.rs:220–222  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

218 /// when calling this function.
219 #[inline]
220 pub unsafe fn assume_gil_acquired() -> Python<'p> {
221 Python(PhantomData)
222 }
223
224 /// Acquires the global interpreter lock, which allows access to the Python runtime.
225 ///

Callers

nothing calls this directly

Calls 1

PythonClass · 0.85

Tested by

no test coverage detected