[Tutor] properties not working in 2.2

karthik Guru karthikg@aztec.soft.net
Tue, 18 Dec 2001 14:49:06 +0530


by the way i downloaded python22c1 and it's working just fine now!

-----Original Message-----
From: Gregor Lingl [mailto:glingl@aon.at]
Sent: Tuesday, December 18, 2001 11:59 AM
To: karthik Guru; tutor@python.org
Subject: Re: [Tutor] properties not working in 2.2


My installation of Python 2.2c1 definitely
doesn't show this (or any other) error-massage
when running your example

instead, I got:

>>> huch = C()
hello world
>>> huch.x
get called
0
>>>

but what is property - and what is it for?

Gregor