"Chris Dutton" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> I'm just curious.  I've been trying to demonstrate functional thinking
> in Python, but I can't find these methods for int objects.  It would be
> immensely helpful for something like:
>
> filter(4 .__lt__, range(10))

Do dir(int) and you will find that int has .__cmp__ but not the individual 
compares (at least in 2.2).

tjr



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to