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/2001-May/014577.html below:

[Python-Dev] Multiple inheritance

[Python-Dev] Multiple inheritance [Python-Dev] Multiple inheritanceJeff Epler jepler@inetnebr.com
Thu, 3 May 2001 13:17:16 -0500
On Thu, May 03, 2001 at 09:24:40AM -0700, Paul F. Dubois wrote:
> class X (Y rename foo as _sfoo,
>                   bar as _sbar
>         ):

Why not let us spell this as:
	class X(Y):
		from Y import foo as _sfoo, bar as _sbar
		...

Of course, then you can spell inheritance as
	class X:
		from Y import *
Right?  :)

Jeff



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