In article <[EMAIL PROTECTED]>,
Dan Stromberg  <[EMAIL PROTECTED]> wrote:
>
>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 ([EMAIL PROTECTED])           <*>         http://www.pythoncraft.com/

"LL YR VWL R BLNG T S"  -- www.nancybuttons.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to