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

Method name

crates/vm/src/coroutine.rs:258–260  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

256 }
257
258 pub fn name(&self) -> PyStrRef {
259 self.name.lock().clone()
260 }
261
262 pub fn set_name(&self, name: PyStrRef) {
263 *self.name.lock() = name;

Callers 10

py_err_to_js_errFunction · 0.45
js_err_to_py_errFunction · 0.45
js_to_pyFunction · 0.45
write_exception_innerMethod · 0.45
write_syntaxerrorMethod · 0.45
serializeMethod · 0.45
slot_newMethod · 0.45
execute_instructionMethod · 0.45
slot_reprMethod · 0.45
try_path_innerMethod · 0.45

Calls 2

cloneMethod · 0.45
lockMethod · 0.45

Tested by

no test coverage detected