Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ co_filename
Method
co_filename
crates/vm/src/builtins/code.rs:767–769 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
765
766
#[pygetset]
767
pub fn co_filename(&self) -> PyStrRef {
768
self.source_path().to_owned()
769
}
770
771
#[pygetset]
772
pub fn co_cellvars(&self, vm: &VirtualMachine) -> PyTupleRef {
Callers
2
is_internal_frame
Method · 0.80
is_filename_to_skip
Function · 0.80
Calls
2
to_owned
Method · 0.45
source_path
Method · 0.45
Tested by
no test coverage detected