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 e1a82a2 commit fed798aCopy full SHA for fed798a
test-data/unit/pythoneval.test
@@ -268,7 +268,9 @@ def bin(f: IO[bytes]) -> None:
268
txt(sys.stdout)
269
bin(sys.stdout)
270
[out]
271
-_program.py:5: error: Argument 1 to "write" of "IO" has incompatible type "bytes"; expected "str"
+_program.py:5: error: No overload variant of "write" of "IO" matches argument type "bytes"
272
+_program.py:5: note: Possible overload variants:
273
+_program.py:5: note: def write(self, str, /) -> int
274
_program.py:10: error: Argument 1 to "bin" has incompatible type "TextIO"; expected "IO[bytes]"
275
276
[case testBuiltinOpen]
0 commit comments