We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84b7ce7 commit 1928a52Copy full SHA for 1928a52
mypyc/irbuild/util.py
@@ -133,10 +133,12 @@ def is_extension_class(cdef: ClassDef) -> bool:
133
return False
134
135
# Classes that have any decorator other than supported decorators, are not extension classes
136
- if (not is_trait_decorator(d)
+ if (
137
+ not is_trait_decorator(d)
138
and not is_dataclass_decorator(d)
139
and not mypyc_attr_call
- and not is_final_decorator(d)):
140
+ and not is_final_decorator(d)
141
+ ):
142
143
144
if cdef.info.typeddict_type:
0 commit comments