MCPcopy Index your code
hub / github.com/RustPython/RustPython / repr_str

Method repr_str

crates/vm/src/stdlib/_thread.rs:176–178  ·  view source on GitHub ↗
(zelf: &Py<Self>, _vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

174 impl Representable for Lock {
175 #[inline]
176 fn repr_str(zelf: &Py<Self>, _vm: &VirtualMachine) -> PyResult<String> {
177 repr_lock_impl!(zelf)
178 }
179 }
180
181 pub type RawRMutex = RawReentrantMutex<RawMutex, RawThreadId>;

Callers

nothing calls this directly

Calls 3

is_lockedMethod · 0.80
loadMethod · 0.45
lockMethod · 0.45

Tested by

no test coverage detected