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/2011-April/110716.html below:

[Python-Dev] python and super

[Python-Dev] python and super [Python-Dev] python and superGreg Ewing greg.ewing at canterbury.ac.nz
Fri Apr 15 02:58:14 CEST 2011
P.J. Eby wrote:

> It's perfectly sensible and useful for there to be classes that 
> intentionally fail to call super(), and yet have a subclass that wants 
> to use super().

One such case is where someone is using super() in a
single-inheritance environment as a way of not having to
write the base class name explicitly into calls to base
methods. (I wouldn't recommend using super() that way
myself, but some people do.) In that situation, any failure
to call super() is almost certainly deliberate.

-- 
Greg
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