Why property works only for objects?

Michal Kwiatkowski ruby at no.spam
Sat Mar 11 23:55:44 CET 2006

Shalabh Chaturvedi napisał(a):
> Here is a step-by-step description of what happens when you set or get
> an attribute on an object:
> http://cafepy.com/article/python_attributes_and_methods/ch01s05.html

This description doesn't take __getattr__/__getattribute__/__setattr__
in count.

 . o .       >>  http://joker.linuxstuff.pl  <<
 . . o   It's easier to get forgiveness for being wrong
 o o o   than forgiveness for being right.

More information about the Python-list mailing list