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 @@ -1974,8 +1974,7 @@ impl<'db> KnownClass {
1974
1974
| Self :: UnionType
1975
1975
| Self :: GeneratorType
1976
1976
| Self :: AsyncGeneratorType
1977
- | Self :: MethodWrapperType
1978
- | Self :: Field => Truthiness :: AlwaysTrue ,
1977
+ | Self :: MethodWrapperType => Truthiness :: AlwaysTrue ,
1979
1978
1980
1979
Self :: NoneType => Truthiness :: AlwaysFalse ,
1981
1980
@@ -2016,7 +2015,8 @@ impl<'db> KnownClass {
2016
2015
// and raises a `TypeError` in Python >=3.14
2017
2016
// (see https://docs.python.org/3/library/constants.html#NotImplemented)
2018
2017
| Self :: NotImplementedType
2019
- | Self :: Classmethod => Truthiness :: Ambiguous ,
2018
+ | Self :: Classmethod
2019
+ | Self :: Field => Truthiness :: Ambiguous ,
2020
2020
}
2021
2021
}
2022
2022
You can’t perform that action at this time.
0 commit comments