]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-134370: Added clarification on instance annotations (GH-134387) (#134509)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 22 May 2025 13:52:37 +0000 (15:52 +0200)
committerGitHub <noreply@github.com>
Thu, 22 May 2025 13:52:37 +0000 (13:52 +0000)
commit7e7391810fa1e8e378d6073c57914bc79d4e9295
tree1a46c407e70e3e41667880e69de94e11fbbb2e69
parent85c8c0a003dca9ac48b4e5c71f798085822f8760
[3.14] gh-134370: Added clarification on instance annotations (GH-134387) (#134509)

gh-134370: Added clarification on instance annotations (GH-134387)

Instances of classes cannot have annotations,
however sometimes they will erroneously have the
__annotations__ attribute
(cherry picked from commit bd4046f4f869039a1a2ebe2d1d18bfbc2a2951b6)

Co-authored-by: Alex Kautz <alex@takemobi.com>
Doc/howto/annotations.rst