Re:Re: Where can I find a lexical spec of python?

2011-09-21 Thread
ar spec like other languages(e.g. http://bclary.com/2004/11/07/#annex-a)? Please help me. Thanks a lot. 在 2011-09-21 19:41:33,"Thomas Jollans" 写道: >On 21/09/11 11:44, 程劭非 wrote: >> Hi, everyone, >> I've found there was several tokens used in python's >> gr

Where can I find a lexical spec of python?

2011-09-21 Thread
Hi, everyone, I've found there was several tokens used in python's grammar(http://docs.python.org/reference/grammar.html) but I didn't see their definition anywhere. The tokens listed here: NEWLINE ENDMARKER NAME INDENT DEDENT NUMBER STRING I've got some infomations from the source code(htt