Barry Warsaw wrote:
I think of all the alternatives in PEP 3135, I'd probably prefer self.__super__.foo(), except that I'd call it self.super.foo().

I'm not sure that's sufficient. You need to be able to specify a class when using MI.

I'd prefer self.super().foo(). self.super() would take one argument, the base class, optional iff self's class has only one base class.

Not that it makes a lick of difference,


/larry/
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to