On Mar 24, 9:10 am, mdipierro <mdipie...@cs.depaul.edu> wrote:

> META(_charset='utf-8')
True

but

> META(_http-equiv='content-type',_content='text/html',_charset='utf-8')
causes a SyntaxError: keyword can't be an expression...
since it interprets the dash as a minus sign.

_http-equiv is not a valid Python identifier because of the dash and
it can not be used as a keyword.

Identifiers and keywords have the following lexical definition:
(letter|"_")(letter|digit|"_")*


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to