def __setattr__(self, a, v):
if a == "<STR_LIT>":<EOL><INDENT>self.__dict__["<STR_LIT>"] = v<EOL><DEDENT>elif len(self) > <NUM_LIT:0> and a in list(self.values())[<NUM_LIT:0>].__dict__:<EOL><INDENT>for style in list(self.values()):<EOL><INDENT>style.__dict__[a] = v<EOL><DEDENT><DEDENT>else:<EOL><INDENT>raise AttributeError("<STR_LIT>"+a+"<STR_LIT:'>")<EOL><DEDENT>
Setting an attribute is like setting it in all of the contained styles.