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 a18ee3a commit 9efa047Copy full SHA for 9efa047
mypyc/test-data/commandline.test
@@ -138,7 +138,9 @@ Foo.lol = 50 # E: Only class variables defined as ClassVar can be assigned to
138
def decorator(x: Any) -> Any:
139
return x
140
141
-class NeverMetaclass(type): # E: Inheriting from most builtin types is unimplemented
+class NeverMetaclass(type): # E: Inheriting from most builtin types is unimplemented \
142
+ # N: Potential workaround: @mypy_extensions.mypyc_attr(native_class=False) \
143
+ # N: https://mypyc.readthedocs.io/en/stable/native_classes.html#defining-non-native-classes
144
pass
145
146
class Concrete1:
0 commit comments