(buf: &[u8])
| 9 | }; |
| 10 | |
| 11 | pub(crate) fn check_pyc_magic_number_bytes(buf: &[u8]) -> bool { |
| 12 | buf.starts_with(&crate::version::PYC_MAGIC_NUMBER_BYTES[..2]) |
| 13 | } |
| 14 | |
| 15 | pub(crate) fn init_importlib_base(vm: &mut VirtualMachine) -> PyResult<PyObjectRef> { |
| 16 | flame_guard!("init importlib"); |
no test coverage detected