Skip to content

Commit baed67d

Browse files
committed
Update dict clear error kind
1 parent 72f73d5 commit baed67d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/primitives/dict_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
arg_types=[dict_rprimitive],
149149
return_type=void_rtype,
150150
c_function_name='CPyDict_Clear',
151-
error_kind=ERR_NEVER)
151+
error_kind=ERR_MAGIC)
152152

153153
# list(dict.keys())
154154
dict_keys_op = custom_op(

0 commit comments

Comments
 (0)