(&self, vm: &VirtualMachine)
| 253 | |
| 254 | #[cfg(windows)] |
| 255 | pub fn to_wide_cstring(&self, vm: &VirtualMachine) -> PyResult<widestring::WideCString> { |
| 256 | widestring::WideCString::from_os_str(&self.path).map_err(|err| err.to_pyexception(vm)) |
| 257 | } |
| 258 | |
| 259 | pub fn filename(&self, vm: &VirtualMachine) -> PyObjectRef { |
| 260 | if let Some(ref origin) = self.origin { |
nothing calls this directly
no test coverage detected