@@ -3851,6 +3851,7 @@ pub enum KnownClass {
38513851 // ty_extensions
38523852 ConstraintSet ,
38533853 GenericContext ,
3854+ Specialization ,
38543855}
38553856
38563857impl KnownClass {
@@ -3955,6 +3956,7 @@ impl KnownClass {
39553956 | Self :: NamedTupleLike
39563957 | Self :: ConstraintSet
39573958 | Self :: GenericContext
3959+ | Self :: Specialization
39583960 | Self :: ProtocolMeta
39593961 | Self :: TypedDictFallback => Some ( Truthiness :: Ambiguous ) ,
39603962
@@ -4039,6 +4041,7 @@ impl KnownClass {
40394041 | KnownClass :: NamedTupleLike
40404042 | KnownClass :: ConstraintSet
40414043 | KnownClass :: GenericContext
4044+ | KnownClass :: Specialization
40424045 | KnownClass :: TypedDictFallback
40434046 | KnownClass :: BuiltinFunctionType
40444047 | KnownClass :: ProtocolMeta
@@ -4123,6 +4126,7 @@ impl KnownClass {
41234126 | KnownClass :: NamedTupleLike
41244127 | KnownClass :: ConstraintSet
41254128 | KnownClass :: GenericContext
4129+ | KnownClass :: Specialization
41264130 | KnownClass :: TypedDictFallback
41274131 | KnownClass :: BuiltinFunctionType
41284132 | KnownClass :: ProtocolMeta
@@ -4207,6 +4211,7 @@ impl KnownClass {
42074211 | KnownClass :: NamedTupleFallback
42084212 | KnownClass :: ConstraintSet
42094213 | KnownClass :: GenericContext
4214+ | KnownClass :: Specialization
42104215 | KnownClass :: BuiltinFunctionType
42114216 | KnownClass :: ProtocolMeta
42124217 | KnownClass :: Template
@@ -4302,6 +4307,7 @@ impl KnownClass {
43024307 | Self :: NamedTupleFallback
43034308 | Self :: ConstraintSet
43044309 | Self :: GenericContext
4310+ | Self :: Specialization
43054311 | Self :: TypedDictFallback
43064312 | Self :: BuiltinFunctionType
43074313 | Self :: ProtocolMeta
@@ -4392,6 +4398,7 @@ impl KnownClass {
43924398 | KnownClass :: Path
43934399 | KnownClass :: ConstraintSet
43944400 | KnownClass :: GenericContext
4401+ | KnownClass :: Specialization
43954402 | KnownClass :: InitVar => false ,
43964403 KnownClass :: NamedTupleFallback | KnownClass :: TypedDictFallback => true ,
43974404 }
@@ -4493,6 +4500,7 @@ impl KnownClass {
44934500 Self :: NamedTupleLike => "NamedTupleLike" ,
44944501 Self :: ConstraintSet => "ConstraintSet" ,
44954502 Self :: GenericContext => "GenericContext" ,
4503+ Self :: Specialization => "Specialization" ,
44964504 Self :: TypedDictFallback => "TypedDictFallback" ,
44974505 Self :: Template => "Template" ,
44984506 Self :: Path => "Path" ,
@@ -4796,9 +4804,10 @@ impl KnownClass {
47964804 | Self :: OrderedDict => KnownModule :: Collections ,
47974805 Self :: Field | Self :: KwOnly | Self :: InitVar => KnownModule :: Dataclasses ,
47984806 Self :: NamedTupleFallback | Self :: TypedDictFallback => KnownModule :: TypeCheckerInternals ,
4799- Self :: NamedTupleLike | Self :: ConstraintSet | Self :: GenericContext => {
4800- KnownModule :: TyExtensions
4801- }
4807+ Self :: NamedTupleLike
4808+ | Self :: ConstraintSet
4809+ | Self :: GenericContext
4810+ | Self :: Specialization => KnownModule :: TyExtensions ,
48024811 Self :: Template => KnownModule :: Templatelib ,
48034812 Self :: Path => KnownModule :: Pathlib ,
48044813 }
@@ -4882,6 +4891,7 @@ impl KnownClass {
48824891 | Self :: NamedTupleLike
48834892 | Self :: ConstraintSet
48844893 | Self :: GenericContext
4894+ | Self :: Specialization
48854895 | Self :: TypedDictFallback
48864896 | Self :: BuiltinFunctionType
48874897 | Self :: ProtocolMeta
@@ -4971,6 +4981,7 @@ impl KnownClass {
49714981 | Self :: NamedTupleLike
49724982 | Self :: ConstraintSet
49734983 | Self :: GenericContext
4984+ | Self :: Specialization
49744985 | Self :: TypedDictFallback
49754986 | Self :: BuiltinFunctionType
49764987 | Self :: ProtocolMeta
@@ -5070,6 +5081,7 @@ impl KnownClass {
50705081 "NamedTupleLike" => & [ Self :: NamedTupleLike ] ,
50715082 "ConstraintSet" => & [ Self :: ConstraintSet ] ,
50725083 "GenericContext" => & [ Self :: GenericContext ] ,
5084+ "Specialization" => & [ Self :: Specialization ] ,
50735085 "TypedDictFallback" => & [ Self :: TypedDictFallback ] ,
50745086 "Template" => & [ Self :: Template ] ,
50755087 "Path" => & [ Self :: Path ] ,
@@ -5148,6 +5160,7 @@ impl KnownClass {
51485160 | Self :: NamedTupleLike
51495161 | Self :: ConstraintSet
51505162 | Self :: GenericContext
5163+ | Self :: Specialization
51515164 | Self :: Awaitable
51525165 | Self :: Generator
51535166 | Self :: Template
0 commit comments