Yurttas/PL/SL/python/docs/core-python-programming/doc/16/ref/delimiters.html

From ZCubes Wiki
Revision as of 19:24, 7 November 2013 by MassBot1 (talk | contribs) (Created page with "<div class="navigation"> {| width="100%" cellspacing="2" align="center" | yurttas/PL/SL/python/docs/core-python-programming/doc/16/ref/datamodel.html|[[Image:yurttas_PL...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


2.6 Delimiters

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 following printing ASCII characters have special meaning as part of other tokens or are otherwise significant to the lexical analyzer:

'       "       #       \

The following printing ASCII characters are not used in Python. Their occurrence outside string literals and comments is an unconditional error:

@       $       ?