]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-80384: Fix docs for PyWeakref_NewRef() and PyWeakref_NewProxy() (GH-151146...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 10 Jun 2026 10:48:23 +0000 (12:48 +0200)
committerGitHub <noreply@github.com>
Wed, 10 Jun 2026 10:48:23 +0000 (10:48 +0000)
commit52ee56a88e47c54ba45b2b46853f85b2f4bf7f4e
tree393d05edd535a6d51799a77a85bfd79199cfee8b
parentc40e6d6ebb8d4ae39fa1de9a9e1cfddb832558b4
[3.13] gh-80384: Fix docs for PyWeakref_NewRef() and PyWeakref_NewProxy() (GH-151146) (GH-151233)

The type of the callback argument is not checked.
(cherry picked from commit 0b6adeb20f5d7c8b81673d14e0a4db41fd2fca2d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Doc/c-api/weakref.rst