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:
self.method(arg)
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.
Ciao
Michele
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com