Skip to content

Commit 3aca0f3

Browse files
committed
Update misc_ops.py
1 parent 0e7ef8d commit 3aca0f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mypyc/primitives/misc_ops.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
c_pyssize_t_rprimitive,
1414
cstring_rprimitive,
1515
dict_rprimitive,
16+
exact_dict_rprimitive,
1617
float_rprimitive,
1718
int_rprimitive,
1819
none_rprimitive,
@@ -161,7 +162,7 @@
161162
# Get the sys.modules dictionary
162163
get_module_dict_op = custom_op(
163164
arg_types=[],
164-
return_type=dict_rprimitive,
165+
return_type=exact_dict_rprimitive,
165166
c_function_name="PyImport_GetModuleDict",
166167
error_kind=ERR_NEVER,
167168
is_borrowed=True,

0 commit comments

Comments
 (0)