Suppose we have a class definition:
class A:
z: 1
b: 2
Z: 3
g: 4
C: 5
A: 6
d: 7
The standard CPython gives this value for A.__annotations__:
{
'z': 1,
'b': 2,
'Z': 3,
'g': 4,
'C': 5,
'A': 6,
'd': 7
}
Is that always the case? What does the specification say about this?