homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author andyharrington
Recipients
Date 2006年06月05日.17:10:02
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
From the reference manual section 5.9:
"The operators <, >, ==, >=, <=, and != compare the
values of two objects. The objects need not have the
same type. If both are numbers, they are converted to a
common type. Otherwise, objects of different types
always compare unequal, and are ordered consistently
but arbitrarily."
The last sentence may apply to built-in types, but '<'
may be evaluated via __lt__ for user defined types, and
there are no such restrictions as I read the
documentation. If this section is only referring to
built-in types it shuld be clearly stated.
History
Date User Action Args
2007年08月23日 14:40:23adminlinkissue1501122 messages
2007年08月23日 14:40:23admincreate

AltStyle によって変換されたページ (->オリジナル) /