(code: PyRef<PyCode>, path: PyStrRef, vm: &VirtualMachine)
| 290 | |
| 291 | #[pyfunction] |
| 292 | fn _fix_co_filename(code: PyRef<PyCode>, path: PyStrRef, vm: &VirtualMachine) { |
| 293 | let old_name = code.source_path(); |
| 294 | let new_name = vm.ctx.intern_str(path.as_wtf8()); |
| 295 | super::update_code_filenames(&code, old_name, new_name); |
| 296 | } |
| 297 | |
| 298 | #[pyfunction] |
| 299 | fn _frozen_module_names(vm: &VirtualMachine) -> PyResult<Vec<PyObjectRef>> { |
nothing calls this directly
no test coverage detected