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 34501b1 commit a09bc0dCopy full SHA for a09bc0d
mypyc/primitives/dict_ops.py
@@ -383,7 +383,7 @@
383
)
384
385
# dict.copy()
386
-true_dict_copy_op = method_op(
+method_op(
387
name="copy",
388
arg_types=[true_dict_rprimitive],
389
return_type=true_dict_rprimitive,
@@ -400,6 +400,15 @@
400
error_kind=ERR_MAGIC,
401
402
403
+# dict.copy() custom_op
404
+true_dict_copy_op = method_op(
405
+ name="copy",
406
+ arg_types=[true_dict_rprimitive],
407
+ return_type=true_dict_rprimitive,
408
+ c_function_name="PyDict_Copy",
409
+ error_kind=ERR_MAGIC,
410
+)
411
+
412
# list(dict.keys())
413
true_dict_keys_op = custom_op(
414
0 commit comments