I think it does not work like you say, the class attribute is overshadowed by the instance attribute in that case, I think.