Skip to content

Commit 0300cec

Browse files
committed
fix: return type
1 parent f10c3d8 commit 0300cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/primitives/weakref_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
new_ref_op = function_op(
88
name="weakref.ReferenceType",
99
arg_types=[object_rprimitive],
10-
return_type=object_rprimitive,
10+
return_type=weakref_rprimitive,
1111
c_function_name="PyWeakref_NewRef",
1212
extra_int_constants=[(0, pointer_rprimitive)],
1313
error_kind=ERR_MAGIC,

0 commit comments

Comments
 (0)