gh-123242: Note that type.__annotations__ may not exist by JelleZijlstra · Pull Request #124557 · python/cpython
Closes python#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.
JelleZijlstra added a commit to JelleZijlstra/cpython that referenced this pull request
…ythonGH-124557) Closes pythonGH-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. (cherry picked from commit 99b23c6) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
JelleZijlstra added a commit that referenced this pull request
emilyemorehouse added a commit to lysnikolaou/cpython that referenced this pull request
JelleZijlstra added a commit to JelleZijlstra/cpython that referenced this pull request
…ythonGH-124557) Closes pythonGH-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. (cherry picked from commit 99b23c6) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters