<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">In Python once you've defined the setter, it automatically gets called on assignment. In other words, the syntax for calling the setter is identical to the syntax to setting the instance variable. This has always struck me as a brilliant piece of design. What's nice about that is you don't have some code calling the accessor, some code updating the instance variable directly, simply because people have different styles, preferences or expectations.<br>
</blockquote><div><br></div><div>Except when you want to override a setter in Django... Then it's not nice </div></div>