Le mardi 18 octobre 2005 à 12:56 -0700, Josiah Carlson a écrit : > You are saving 3 lines over the decorator/function approach [...]
Well, obviously, the point of a block statement or construct is that it can be applied to many other things than properties. Otherwise it is overkill as you imply. (I'm not actively advocating this by the way, I was just answering a request for an example) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com