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

Method get_bytes_mut

crates/stdlib/src/array.rs:953–955  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

951 }
952
953 pub(crate) fn get_bytes_mut(&self) -> PyMappedRwLockWriteGuard<'_, [u8]> {
954 PyRwLockWriteGuard::map(self.write(), |a| a.get_bytes_mut())
955 }
956
957 #[pymethod]
958 fn tolist(&self, vm: &VirtualMachine) -> PyResult<Vec<PyObjectRef>> {

Callers 1

array.rsFile · 0.80

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected