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 bee44dc commit 3158d15Copy full SHA for 3158d15
mypyc/ir/class_ir.py
@@ -239,12 +239,14 @@ def fullname(self) -> str:
239
240
@property
241
def allow_interpreted_subclasses(self) -> bool:
242
- return self._allow_interpreted_subclasses or not self.is_ext_class and not self.is_final_class
243
-
+ return (
+ self._allow_interpreted_subclasses or not self.is_ext_class and not self.is_final_class
244
+ )
245
+
246
@allow_interpreted_subclasses.setter
247
def _(self, value: bool) -> None:
248
self._allow_interpreted_subclasses = value
249
250
def real_base(self) -> ClassIR | None:
251
"""Return the actual concrete base class, if there is one."""
252
if len(self.mro) > 1 and not self.mro[1].is_trait:
0 commit comments