Skip to content

Commit d3067b0

Browse files
committed
Revert unneeded policy change
1 parent 701cfd1 commit d3067b0

File tree

1 file changed

+1
-6
lines changed
  • crates/red_knot_python_semantic/src

1 file changed

+1
-6
lines changed

crates/red_knot_python_semantic/src/types.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3829,12 +3829,7 @@ impl<'db> Type<'db> {
38293829
.symbol
38303830
.is_unbound()
38313831
{
3832-
Some(init_ty.try_call_dunder_with_policy(
3833-
db,
3834-
"__init__",
3835-
&mut argument_types,
3836-
MemberLookupPolicy::NO_INSTANCE_FALLBACK,
3837-
))
3832+
Some(init_ty.try_call_dunder(db, "__init__", argument_types))
38383833
} else {
38393834
None
38403835
};

0 commit comments

Comments
 (0)