[Python-3000] Fixing super anyone?

Michele Cella michele.cella at gmail.com
Mon Apr 23 08:48:28 CEST 2007

Greg Ewing wrote:
> Michele Cella wrote:
>> Personally, I really like this syntax:
>> res = super currentmethod(arg, arg)
>> Why? because it's very consistent (pythonic?) with the way I'm used to 
>> use any other keyword.
> But it's inconsistent with the way every other
> method is called.

Yeah, you're absolutely right. :-)

Have you seen my second proposal?

Calling a method:


Calling a super method:

	super self.method(arg)

That's consistent with:
	* the way you call any other method
	* the way you use any other keyword

Thanks for the attention.


More information about the Python-3000 mailing list