]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-89554: Document weakref type objects as classes (GH-150678) (GH-150760)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 2 Jun 2026 08:08:01 +0000 (10:08 +0200)
committerGitHub <noreply@github.com>
Tue, 2 Jun 2026 08:08:01 +0000 (08:08 +0000)
commit506b41d458e7fc08d4adc1a8eca5743377f7562b
tree534ca9709b0f2222f505a60190acf2981a3a2122
parentef4508966038b6e63847b85715acf639690093f0
[3.15] gh-89554: Document weakref type objects as classes (GH-150678) (GH-150760)

Use the "class" directive instead of "data" for ReferenceType,
ProxyType and CallableProxyType.
(cherry picked from commit 10c421970beca89df92a918f2247fb8850d3b6cc)

Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
Doc/library/weakref.rst