"Gabriel Genellina" <[EMAIL PROTECTED]> writes: > > obj.getattr(a)() > > but even that is a bit ugly, depending. > Surely you meant to say getattr(obj, a)()
Yeah, darn. Counterintuitive. I keep making that error in my own code too. Maybe I should put in an RFE. -- http://mail.python.org/mailman/listinfo/python-list