]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] 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:16 +0000 (12:48 +0200)
committerGitHub <noreply@github.com>
Wed, 10 Jun 2026 10:48:16 +0000 (10:48 +0000)
commita9716b775f5dabe5f1294c60281251fde227fb76
tree5f5a736fd79264815d7b441634ae6a36a113afd6
parenta4bdc218d5429fc91b9824dfa1efff6e729127f5
[3.14] gh-80384: Fix docs for PyWeakref_NewRef() and PyWeakref_NewProxy() (GH-151146) (GH-151232)

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