Skip to content

Commit 4e8eb48

Browse files
Update weakref_ops.py
1 parent 84bd94a commit 4e8eb48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypyc/primitives/weakref_ops.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
)
1515

1616
new_ref__with_callback_op = function_op(
17-
name="weakref.ReferenceType",
17+
name="weakref.proxy",
1818
arg_types=[object_rprimitive, object_rprimitive],
1919
return_type=object_rprimitive,
2020
c_function_name="PyWeakref_NewRef",
2121
error_kind=ERR_MAGIC,
2222
)
2323

2424
new_proxy_op = function_op(
25-
name="weakref.ProxyType",
25+
name="weakref.proxy",
2626
arg_types=[object_rprimitive],
2727
return_type=object_rprimitive,
2828
c_function_name="PyWeakref_NewProxy",

0 commit comments

Comments
 (0)