Accessors in Python (getters and setters)

Gerhard Fiedler gelists at gmail.com
Thu Jul 13 09:53:34 EDT 2006


On 2006-07-13 01:50:18, Alex Martelli wrote:

>> I'm not sure about which languages you are talking (pretty much all that
>> allow public methods also allow public attributes), [...]
> 
> Smalltalk is a very well known object-oriented language that behaves
> otherwise, just as one example.

I didn't know that Smalltalk allows any methods at all... I wrote about
languages that allow public methods, and I didn't think of Smalltalk
falling into that category.

Gerhard




More information about the Python-list mailing list