"Steven D'Aprano" <[EMAIL PROTECTED]> writes: > On Tue, 16 Jan 2007 08:54:09 +1100, Ben Finney wrote: > > def __add__(self, other): > > result = perform_addition(self, other) > > return result > > But that could just as easily be written as: > > def __add__(self, other): > return perform_addition(self, other)
Yes. I was merely suggesting that there would probably be more steps involved than "return some_simple_expression", without actually detailing those steps. -- \ "Having sex with Rachel is like going to a concert. She yells a | `\ lot, and throws frisbees around the room; and when she wants | _o__) more, she lights a match." -- Steven Wright | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list