Skip to content

Commit bfd77b8

Browse files
Update dict_ops.py
1 parent 44629a5 commit bfd77b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mypyc/primitives/dict_ops.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
# dict[key] = value (exact dict only, no subclasses)
9494
# NOTE: this is currently for internal use only, and not used for CallExpr specialization
9595
exact_dict_get_item_op = custom_primitive_op(
96+
name="__getitem__",
9697
arg_types=[dict_rprimitive, object_rprimitive],
9798
return_type=object_rprimitive,
9899
c_function_name="CPyDict_GetItemUnsafe",

0 commit comments

Comments
 (0)