overriding equals operation

Joshua Landau joshua.landau.ws at gmail.com
Sat Oct 20 22:46:20 EDT 2012


On 17 October 2012 09:14, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:

> On 17/10/2012 05:16, 88888 Dihedral wrote:
>
>> What you really want is b=a.copy()
>> not b=a to disentangle two objects.
>>
>> __eq__ is used in the comparison operation.
>>
>>
> The winner Smartest Answer by a Bot Award 2012 :)


Something seems fishy here...
I swear, either bots are becoming sentient or 88888 isn't always a bot. He
easily passed the Turing test right there.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20121021/2507e1d8/attachment.html>


More information about the Python-list mailing list