Understanding properties
Aahz
aahz at pythoncraft.com
Wed Jul 31 13:19:04 EDT 2002
In article <ag79ii$ccv$1 at news.eusc.inter.net>, merman <merman at snafu.de> wrote:
>>
>> class MyObject(object):
>
>Why it needs the inheritance from object - I don't understand.
>Can you enlighten me please?
This is almost a month late, but in case anyone hasn't seen it,
new-style classes are documented in
http://www.python.org/2.2.1/descrintro.html
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Project Vote Smart: http://www.vote-smart.org/
More information about the Python-list
mailing list