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.
__len__
1 parent 525da68 commit 6c3f990Copy full SHA for 6c3f990
conformance/tests/protocols_merging.py
@@ -49,8 +49,8 @@ def close(self) -> None:
49
s4: SizedAndClosable2 = SizedAndClosable3() # OK
50
s5: Sized = SCConcrete1() # OK
51
52
-s6: SizedAndClosable1 = SCConcrete2() # E: doesn't implement close
53
-s7: SizedAndClosable2 = SCConcrete2() # E: doesn't implement close
+s6: SizedAndClosable1 = SCConcrete2() # E: doesn't implement `__len__`
+s7: SizedAndClosable2 = SCConcrete2() # E: doesn't implement `__len__`
54
s8: SizedAndClosable3 = SCConcrete2() # E: SizedAndClosable3 is not a protocol
55
56
0 commit comments