<s> def obsolete_setter ( setter , attrname ) : <EOL> def newsetter ( self , value ) : <EOL> c = self . __class__ . __name__ <EOL> msg = "<STR_LIT>" % ( c , attrname , c ) <EOL> raise AttributeError ( msg ) <EOL> return newsetter </s>
