On Apr 4, 2:37 am, Steven D'Aprano <st...@remove-this-
cybersource.com.au> wrote:

> In any case, the *right* test would be:
>
> a = 1
> assert a == 1 and a*5==5 and str(a)=='1' and [None,a,None][a] is a

You're right.  I was very tired when I wrote that, and forgot the last
3 assertions...
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to