In article <pa****************************@dcs.nac.uci.edu> ,
Dan Stromberg <st******@dcs.nac.uci.eduwrote:
>
Is sample1 or sample2 the more pythonic way of comparing?
Depending on what versions of Python you're targetting, some people
would argue neither (advocating the deprecation of __cmp__). I'm not
sure what the current status of __cmp__ is for Python 3.0.
--
Aahz (aa**@pythoncraft.com) <*
http://www.pythoncraft.com/
"LL YR VWL R BLNG T S" --
www.nancybuttons.com