Skip to content

Commit 66f57e6

Browse files
committed
Update dict_ops.py
1 parent d7029ac commit 66f57e6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

mypyc/primitives/dict_ops.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
return_type=c_int_rprimitive,
162162
c_function_name="PyDict_Update",
163163
error_kind=ERR_NEG_INT,
164-
priority=2,
164+
priority=5,
165165
)
166166

167167
# dictorsubclass.update(dict)
@@ -171,7 +171,7 @@
171171
return_type=c_int_rprimitive,
172172
c_function_name="CPyDict_Update",
173173
error_kind=ERR_NEG_INT,
174-
priority=2,
174+
priority=3,
175175
)
176176

177177
# dict.update(dictsubclass)
@@ -181,7 +181,7 @@
181181
return_type=c_int_rprimitive,
182182
c_function_name="PyDict_Update",
183183
error_kind=ERR_NEG_INT,
184-
priority=2,
184+
priority=4,
185185
)
186186

187187
# dictsubclass1.update(dictsubclass2)
@@ -392,6 +392,7 @@
392392
return_type=exact_dict_rprimitive,
393393
c_function_name="PyDict_Copy",
394394
error_kind=ERR_NEVER,
395+
priority=2,
395396
)
396397

397398
# dictsubclass.copy()

0 commit comments

Comments
 (0)