Besides NEWLINE, INDENT and DEDENT, the following categories of tokens exist: identifiers, keywords, literals, operators, and delimiters. Whitespace characters (other than line terminators, discussed earlier) are not tokens, but serve to delimit tokens. Where ambiguity exists, a token comprises the longest possible string that forms a legal token, when read from left to right.
除了NEWLINE, INDENT和DEDENT, 还有以下几类语言符号:标识符, 关键字, 字面值, 运算符和分隔符.空白不是语言符号(除了断行符, 前述), 但可以用于分隔语言符号.当解释某语言符号有歧义时, 该语言符号被看作是由一个尽可能长的合法词法项组成(自左至右).