Note this is only in cases like: setattr(self, 'some_attribute', val). If the second argument isn't a string literal, there would be no warning.
Note this is only in cases like: setattr(self, 'some_attribute', val). If the second argument isn't a string literal, there would be no warning.