File size: 213 Bytes
acb7111
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from typing import Dict
class Player:
    ...
players: Dict[str, Player]
__points: int

print(__annotations__)
# prints: {'players': typing.Dict[str, __main__.Player],
#          '_Player__points': <class 'int'>}