operator.__cmp__
Michael Hudson
mwh at python.net
Tue Dec 3 08:48:37 EST 2002
Antoon Pardon <apardon at forel.vub.ac.be> writes:
> I have written a few modules in which something like the
> above would be usefull? So I wonder why are the comparisons
> not included in the operator module?
Because cmp() is a builtin? Otherwise, I'm not sure what you're
asking.
Cheers,
M.
--
ARTHUR: Why should he want to know where his towel is?
FORD: Everybody should know where his towel is.
ARTHUR: I think your head's come undone.
-- The Hitch-Hikers Guide to the Galaxy, Episode 7
More information about the Python-list
mailing list