Is this an Bug in python 2.3??
Jeff Epler
jepler at unpythonic.net
Fri Jun 11 16:50:21 EDT 2004
There doesn't seem to be any bug here.
You may need to read:
http://docs.python.org/ref/customization.html#l2h-184
Just as
a + b
may use a.__add__(b) or b.__radd__(a),
a < b
may use a.__lt__(b) or b.__gt__(a), as described in the language
reference.
If you read this part of the language reference and still think the
behavior is different than the documentation, please follow-up on
the list.
Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20040611/fa1135a4/attachment.sig>
More information about the Python-list
mailing list