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 f3404bf commit b732d81Copy full SHA for b732d81
mypyc/test-data/irbuild-bytes.test
@@ -225,18 +225,18 @@ from typing import Final
225
226
constant: Final = b"constant"
227
228
-def fold_tuple() -> str:
+def fold_tuple() -> bytes:
229
return b" ".join((constant, b"folded"))
230
-def fold_list() -> str:
+def fold_list() -> bytes:
231
return b" ".join([constant, b"folded"])
232
[out]
233
def fold_tuple():
234
r0 :: bytes
235
L0:
236
- r0 = "constant folded"
+ r0 = b'constant folded'
237
return r0
238
def fold_list():
239
240
241
242
0 commit comments