Skip to content

Commit

Permalink
Update serialize.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
mtshiba committed Jan 21, 2025
1 parent f9e758a commit 41d8ca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/erg_common/serialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub const fn get_ver_from_magic_num(magic_num: u32) -> PythonVersion {
3430..=3439 => PythonVersion::new(3, Some(10), Some(0)), // main: 3439
3495 => PythonVersion::new(3, Some(11), Some(0)),
3531 => PythonVersion::new(3, Some(12), Some(0)),
_ => panic!("unknown magic number"),
_ => panic!("unknown magic number (unsupported Python version)"),
}
}

Expand Down

0 comments on commit 41d8ca9

Please sign in to comment.