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/014578.html below:

[Python-Dev] Multiple inheritance

[Python-Dev] Multiple inheritance [Python-Dev] Multiple inheritanceNeil Schemenauer nas@python.ca
Thu, 3 May 2001 12:05:37 -0700
Jeff Epler wrote:
> 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
> 		...

This already has a meaning in Python.  Paul's suggested syntax is
pretty neat, IMHO.

  Neil



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