Understanding the pythonic way: why a.x = 1 is better than a.setX(1) ?

Diez B. Roggisch deets at nospam.web.de
Thu Sep 4 13:00:57 CEST 2008


Marco Bizzarri wrote:

> Let's say I've a class a, where I can write:

Anticipating this obviously premature posting:

http://dirtsimple.org/2004/12/python-is-not-java.html

Diez



More information about the Python-list mailing list