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 61cd522 commit 5c64116Copy full SHA for 5c64116
mypyc/irbuild/specialize.py
@@ -89,12 +89,12 @@
89
dict_values_op,
90
)
91
from mypyc.primitives.list_ops import new_list_set_item_op
92
-from mypyc.primitives.tuple_ops import new_tuple_set_item_op
93
from mypyc.primitives.str_ops import (
94
- str_encode_utf8_strict,
95
str_encode_ascii_strict,
96
str_encode_latin1_strict,
+ str_encode_utf8_strict,
97
+from mypyc.primitives.tuple_ops import new_tuple_set_item_op
98
99
# Specializers are attempted before compiling the arguments to the
100
# function. Specializers can return None to indicate that they failed
mypyc/test-data/irbuild-str.test
@@ -383,4 +383,3 @@ L0:
383
r37 = 'latin2'
384
r38 = CPy_Encode(s, r37, 0)
385
return 1
386
-
0 commit comments