Message 391491 - Python tracker
Huh. The sample code in my thread got goofed up somewhere along the way--maybe it's my fault, maybe it was done to me by some automated process. Anyway, the example demonstrating classes inheriting annotations was meant to be formatted like this:
class A:
ax:int=3
class B(A):
pass
print(getattr(B, '__annotations__', {}))
Maybe some over-smart doodad decided that no paragraph would ever start with spaces, so they helpfully removed them? Hmm.