Skip to content

Commit 928e5a5

Browse files
committed
Merge branch 'weak-proxy' of https://github.com/BobTheBuidler/mypy into weak-proxy
2 parents 2514a91 + 9ed366d commit 928e5a5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

mypyc/primitives/weakref_ops.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
new_proxy_op = function_op(
2525
name="_weakref.proxy",
2626
arg_types=[object_rprimitive],
27-
steals=[True],
2827
return_type=object_rprimitive,
2928
c_function_name="PyWeakref_NewProxy",
3029
extra_int_constants=[(0, pointer_rprimitive)],

test-data/unit/lib-stub/weakref.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ class CallableProxyType(Generic[_C]): # "weakcallableproxy"
1919
__call__: _C
2020
__hash__: ClassVar[None] # type: ignore[assignment]
2121

22-
__all__ = ["proxy"]
22+
__all__ = ["proxy"]

0 commit comments

Comments
 (0)