Hallöchen! Dustan writes:
> On Jan 27, 12:41 pm, Torsten Bronger <[EMAIL PROTECTED]> > wrote: > >> [...] >> >> Well, you save one or two lines per class. Not enough in my >> opinion. > > Are you referring to the alternate syntax or to the decorator? > Either way, you could be saving 4 or 5 or more lines, if you have > enough arguments. Mostly, I write them in one or two lines, e.g. def __init__(self, id, kind, person, feedname): self.id, self.kind, self.person = id, kind, person (Sometimes I break after the "=".) Still, I don't think that this at-most-once-per-class use case justifies a special syntax (whether within the current language or not) that everyone else has to learn, too. Tschö, Torsten. -- Torsten Bronger, aquisgrana, europa vetus Jabber ID: [EMAIL PROTECTED] (See http://ime.webhop.org for further contact info.) -- http://mail.python.org/mailman/listinfo/python-list