class Fruit: pass Fruit.__name__ = 1 # [non-str-assignment-to-dunder-name]