The following tokens serve as delimiters in the grammar:
以下符号用作语法上的分隔符:
( ) [ ] { } , : . ` = ; += -= *= /= //= %= &= |= ^= >>= <<= **=
The period can also occur in floating-point and imaginary literals. A sequence of three periods has a special meaning as an ellipsis in slices. The second half of the list, the augmented assignment operators, serve lexically as delimiters, but also perform an operation.
句号可以在浮点数和虚数字面值中出现, 一个连续的三个句号的序列具有特殊的含义, 它指出这是一个片断中的省略写法.在这个表格的后半部分, 即参数化赋值运算符, 在词法上是作为分隔符处理, 但也执行运算.
The following printing ASCII characters have special meaning as part of other tokens or are otherwise significant to the lexical analyzer:
以下可显示ASCII字符具有作为其它符号的一部分有着特殊的含义, 或者对于词法分析器具有重要意义:
' " # \
The following printing ASCII characters are not used in Python. Their occurrence outside string literals and comments is an unconditional error:
以下可显示ASCII字符不在Python中使用, 当它们出现在注释和字面值之外时就是非法的:
@ $ ?