]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-123242: Note that type.__annotations__ may not exist (#124557)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Wed, 25 Sep 2024 23:08:14 +0000 (16:08 -0700)
committerGitHub <noreply@github.com>
Wed, 25 Sep 2024 23:08:14 +0000 (16:08 -0700)
commit99b23c64de301c9e77add6b0d8e60118ef807840
treef4d15a70f36211a359f2b1fb790a0aa01176e510
parentbc543936ab4ca3625bd7cbeac97faa47f5fd93dc
gh-123242: Note that type.__annotations__ may not exist (#124557)

Closes #123242. The real criterion is that the attribute does not
exist on heap types, but I don't think we should discuss heap vs.
static types in the language reference.
Doc/reference/datamodel.rst