File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/ty_python_semantic/src/types Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1998,8 +1998,7 @@ impl<'db> KnownClass {
19981998 | Self :: UnionType
19991999 | Self :: GeneratorType
20002000 | Self :: AsyncGeneratorType
2001- | Self :: MethodWrapperType
2002- | Self :: Field => Truthiness :: AlwaysTrue ,
2001+ | Self :: MethodWrapperType => Truthiness :: AlwaysTrue ,
20032002
20042003 Self :: NoneType => Truthiness :: AlwaysFalse ,
20052004
@@ -2040,7 +2039,8 @@ impl<'db> KnownClass {
20402039 // and raises a `TypeError` in Python >=3.14
20412040 // (see https://docs.python.org/3/library/constants.html#NotImplemented)
20422041 | Self :: NotImplementedType
2043- | Self :: Classmethod => Truthiness :: Ambiguous ,
2042+ | Self :: Classmethod
2043+ | Self :: Field => Truthiness :: Ambiguous ,
20442044 }
20452045 }
20462046
You can’t perform that action at this time.
0 commit comments