operator overloading
François Pinard
pinard at iro.umontreal.ca
Tue Jun 6 15:25:27 EDT 2000
david_ullrich at my-deja.com écrit:
> > If one wants tools like `sort()' to work properly, `__cmp__' should
> > establish a proper order relation, yes. Otherwise, rather cryptic
> > bugs might pop out.
> If so this should probably be mentioned in the docs.
_If_ the documentation does not make it clear, it should indeed. Could
someone check and, if the documentation is improper, report it appropriately?
--
François Pinard http://www.iro.umontreal.ca/~pinard
More information about the Python-list
mailing list