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 d0ee2f0 commit da46e55Copy full SHA for da46e55
mypyc/primitives/weakref_ops.py
@@ -7,7 +7,7 @@
7
new_ref_op = function_op(
8
name="weakref.ReferenceType",
9
arg_types=[object_rprimitive],
10
- return_type=object_rprimitive,
+ return_type=weakref_rprimitive,
11
c_function_name="PyWeakref_NewRef",
12
extra_int_constants=[(0, pointer_rprimitive)],
13
error_kind=ERR_MAGIC,
0 commit comments