Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ filename
Method
filename
crates/vm/src/exceptions.rs:1305–1308 ·
view source on GitHub ↗
(mut self, filename: PyObjectRef)
Source
from the content-addressed store, hash-verified
1303
#[must_use]
1304
#[allow(dead_code)]
1305
pub(crate) fn filename(mut self, filename: PyObjectRef) -> Self {
1306
self.filename.replace(filename);
1307
self
1308
}
1309
1310
#[must_use]
1311
#[allow(dead_code)]
Callers
nothing calls this directly
Calls
2
replace
Method · 0.45
to_owned
Method · 0.45
Tested by
no test coverage detected