Skip to content

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood committed Aug 9, 2024
1 parent a262da6 commit bf6ebf5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/red_knot_workspace/src/site_packages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ fn site_packages_directory_from_sys_prefix(
return Ok(expected_path);
}
if minor_version.free_threaded_build_available() {
// Nearly the same as `expected_path`, but with an additional `t` after {minor_version}:
let alternative_path =
sys_prefix_path.join(format!("lib/python3.{minor_version}t/site-packages"));
if system.is_directory(&alternative_path) {
Expand Down

0 comments on commit bf6ebf5

Please sign in to comment.