A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-May/079060.html below:

[Python-Dev] Problems with the new super()

[Python-Dev] Problems with the new super() [Python-Dev] Problems with the new super()Larry Hastings larry at hastings.org
Fri May 2 21:32:37 CEST 2008
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/
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4