Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ set_name
Method
set_name
crates/vm/src/coroutine.rs:262–264 ·
view source on GitHub ↗
(&self, name: PyStrRef)
Source
from the content-addressed store, hash-verified
260
}
261
262
pub fn set_name(&self, name: PyStrRef) {
263
*self.name.lock() = name;
264
}
265
266
pub fn qualname(&self) -> PyStrRef {
267
self.qualname.lock().clone()
Callers
3
set___name__
Method · 0.45
set___name__
Method · 0.45
set___name__
Method · 0.45
Calls
1
lock
Method · 0.45
Tested by
no test coverage detected