COM interfaces and inheritance
Rob Sykes
Robert_NJ_Sykes at msn.co.uk
Tue Nov 19 12:16:50 EST 2002
Alex Martelli <aleax at aleax.it> wrote in
news:kRqC9.27602$744.1004200 at news1.tin.it:
>>
>> class foo():
>> pass
>>
>> class bar(foo):
>> self.stuff = 7
>
> Invalid Python on several scores.
Apologies. More haste less speed...
class foo:
pass
class bar(foo):
def __init__(self):
self.stuff = 7
but you *knew* what I meant :-). I've had Delphi and VB in my head
today
There's COM stuff else-thread. I'll have a read
--
Rob Sykes
Born again Bairn | 'The despair I can live with.
rob at john-richard dot co dot uk | It's the hope I can't stand'
(header email for spambots) | (Anon.)
More information about the Python-list
mailing list