On Dec 10 2010, 5:15 pm, Steven D'Aprano <steve
+comp.lang.pyt...@pearwood.info> wrote:

> n = 1
> [print(n) for n in (2,)]
> print n

Oh *thats* why we have print as a function! I always wanted to put
print in a list cmp. :-)


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

Reply via email to