]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-89554: Document weakref type objects as classes (GH-150678) (GH-150759)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 2 Jun 2026 08:07:15 +0000 (10:07 +0200)
committerGitHub <noreply@github.com>
Tue, 2 Jun 2026 08:07:15 +0000 (08:07 +0000)
commitbd4fe0fae68fbb1258bd2fff34ca9b5c5bda5cdf
tree9a6d49ba4ffd305dde31690e1f4754ac73fc85dc
parent7d661587a2d76fd1eaa0349612d37a809560a88d
[3.14] gh-89554: Document weakref type objects as classes (GH-150678) (GH-150759)

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