Saturday 01 January 2005 23:34 pm Steven Bethard wrote:

[...]
> If you implemented the file interface functions yourself, why do you
> want to inherit from file?

[...]

> But just inheriting from list won't make this work, will it?  Don't you
> want to do something like:

[...]

Right. I guess the thing I was looking for is an interface specification as
in Java's Interfaces. 
I could write an abstract base class, where all methods just raise
NotImplemented().

I don't know wether this is a good idea after all...:/

Thanks
Uwe 
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to