[Python-Dev] Multiple inheritance (original) (raw)
Neil Schemenauer nas@python.ca
Thu, 3 May 2001 12:05:37 -0700
- Previous message: [Python-Dev] Multiple inheritance
- Next message: [Python-Dev] Multiple inheritance
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Multiple inheritance
- Next message: [Python-Dev] Multiple inheritance
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]