In Python, class attribute and static attribute are the same thing — an attribute of the class, not the instance.
1class User:2 # Class attribute3 role = "user"45 def __init__(self, name):6 self.name = name # Instance attribute
Access:
User.role.u.role (if not overridden in instance).