Commit 33df56c
committed
[3.13] pythongh-123242: Note that type.__annotations__ may not exist (pythonGH-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 <[email protected]>1 parent 9f2e6ca commit 33df56c
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1011 | 1011 | | |
1012 | 1012 | | |
1013 | 1013 | | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
1014 | 1022 | | |
1015 | 1023 | | |
1016 | 1024 | | |
| |||
0 commit comments