|
269 | 269 | arg_types=[true_dict_rprimitive, object_rprimitive, object_rprimitive],
|
270 | 270 | return_type=object_rprimitive,
|
271 | 271 | c_function_name="PyDict_SetDefault",
|
272 |
| - error_kind=ERR_MAGIC, |
| 272 | + error_kind=ERR_NEVER, |
273 | 273 | )
|
274 | 274 |
|
275 | 275 | # dictorsubclass.setdefault(key, default)
|
|
388 | 388 | arg_types=[true_dict_rprimitive],
|
389 | 389 | return_type=true_dict_rprimitive,
|
390 | 390 | c_function_name="PyDict_Copy",
|
391 |
| - error_kind=ERR_MAGIC, |
| 391 | + error_kind=ERR_NEVER, |
392 | 392 | )
|
393 | 393 |
|
394 | 394 | # dictsubclass.copy()
|
|
405 | 405 | arg_types=[true_dict_rprimitive],
|
406 | 406 | return_type=true_dict_rprimitive,
|
407 | 407 | c_function_name="PyDict_Copy",
|
408 |
| - error_kind=ERR_MAGIC, |
| 408 | + error_kind=ERR_NEVER, |
409 | 409 | )
|
410 | 410 |
|
411 | 411 | # list(dict.keys())
|
412 | 412 | true_dict_keys_op = custom_op(
|
413 | 413 | arg_types=[true_dict_rprimitive],
|
414 | 414 | return_type=list_rprimitive,
|
415 | 415 | c_function_name="PyDict_Keys",
|
416 |
| - error_kind=ERR_MAGIC, |
| 416 | + error_kind=ERR_NEVER, |
417 | 417 | )
|
418 | 418 |
|
419 | 419 | # list(dictorsubclass.keys())
|
|
429 | 429 | arg_types=[true_dict_rprimitive],
|
430 | 430 | return_type=list_rprimitive,
|
431 | 431 | c_function_name="PyDict_Values",
|
432 |
| - error_kind=ERR_MAGIC, |
| 432 | + error_kind=ERR_NEVER, |
433 | 433 | )
|
434 | 434 |
|
435 | 435 | # list(dictorsubclass.values())
|
|
445 | 445 | arg_types=[true_dict_rprimitive],
|
446 | 446 | return_type=list_rprimitive,
|
447 | 447 | c_function_name="PyDict_Items",
|
448 |
| - error_kind=ERR_MAGIC, |
| 448 | + error_kind=ERR_NEVER, |
449 | 449 | )
|
450 | 450 |
|
451 | 451 | # list(dictorsubclass.items())
|
|
0 commit comments