When write
>>>i for i in range(16)
I get "SyntaxError: invalid syntax"
but When I use it like this:
>>>def f(x):\
... pass
>>>f(i for i in range(16))
all is right
I think it maybe f((i for i in range(16)))
--
Li Hui
http://www.lihui.org
--
http://mail.python.org/mailman/listinfo/python-list
When I add enctype="text/plain" to a post form like , there is a "CSRF verification
failed." error.
But when I remove it, all is right.
Who can tell me why?
--
Li Hui
http://www.lihui.org
--
http://mail.python.org/mailman/listinfo/python-list