incrementation operators?
Huaiyu Zhu
hzhu at localhost.localdomain
Mon Aug 14 16:09:43 EDT 2000
On Sun, 13 Aug 2000 15:13:44 +0200, Thomas Wouters <thomas at xs4all.net> wrote:
>
>http://python.sourceforge.net/peps/pep-0203.html
>
>Now is the last chance to provide any useful feedback, 2.0 is going in a
>feature freeze on Monday!
Just a minor comment (but only needing minor modification at this point):
The name __add_ab__ is not so intuitive. Would __add_by__ be better?
a += b # a.__add_by__(b)
Of course this point is minor because these magic names are used only once
in the implementation of each class.
Huaiyu
More information about the Python-list
mailing list