SIGN IN SIGN UP

gh-105927: PyWeakref_GetRef() returns 1 on success (#106561)

PyWeakref_GetRef() now returns 1 on success, and return 0 if the
reference is dead.

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
V
Victor Stinner committed
ee46cb6aa959d891b0a480fea29f1eb991e0fad8
Parent: 1e12c8c
Committed by GitHub <noreply@github.com> on 7/9/2023, 3:50:26 PM