Skip to content

Commit

Permalink
[red-knot] Remove very noisy tracing call when resolving ImportFrom
Browse files Browse the repository at this point in the history
… statements (#13136)
  • Loading branch information
AlexWaygood authored Aug 28, 2024
1 parent 3e9c7ad commit cfafaa7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/red_knot_python_semantic/src/types/infer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,6 @@ impl<'db> TypeInferenceBuilder<'db> {
// `follow_relative_import_bare_to_module()` and
// `follow_nonexistent_import_bare_to_module()`.
let ast::StmtImportFrom { module, level, .. } = import_from;
tracing::trace!("Resolving imported object {alias:?} from statement {import_from:?}");
let module = module.as_deref();

let module_name = if let Some(level) = NonZeroU32::new(*level) {
Expand Down

0 comments on commit cfafaa7

Please sign in to comment.