Skip to content

Commit 5c64116

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 61cd522 commit 5c64116

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

mypyc/irbuild/specialize.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@
8989
dict_values_op,
9090
)
9191
from mypyc.primitives.list_ops import new_list_set_item_op
92-
from mypyc.primitives.tuple_ops import new_tuple_set_item_op
9392
from mypyc.primitives.str_ops import (
94-
str_encode_utf8_strict,
9593
str_encode_ascii_strict,
9694
str_encode_latin1_strict,
95+
str_encode_utf8_strict,
9796
)
97+
from mypyc.primitives.tuple_ops import new_tuple_set_item_op
9898

9999
# Specializers are attempted before compiling the arguments to the
100100
# function. Specializers can return None to indicate that they failed

mypyc/test-data/irbuild-str.test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,4 +383,3 @@ L0:
383383
r37 = 'latin2'
384384
r38 = CPy_Encode(s, r37, 0)
385385
return 1
386-

0 commit comments

Comments
 (0)