On Sep 20, 10:38 am, Peng Yu <pengyu...@gmail.com> wrote: > Hi, > > I have the following code. I want to change the function body of > __repr__ to something like
PS: Methods get angry when you refer to them as functions . You see, methods feel that they are more than a mere lowly function, and have developed a superiority complex about it. And you would not want to get them upset either -- since they have friends in high places (classes) and can really put a hurt on you. ;-) -- http://mail.python.org/mailman/listinfo/python-list