Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Doc/library/token.rst

    r2 r391  
    1 
    21:mod:`token` --- Constants used with Python parse trees
    32=======================================================
     
    76.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
    87
     8**Source code:** :source:`Lib/token.py`
     9
     10--------------
    911
    1012This module provides constants which represent the numeric values of leaf nodes
     
    1416change between Python versions.
    1517
    16 This module also provides one data object and some functions.  The functions
    17 mirror definitions in the Python C header files.
     18The module also provides a mapping from numeric codes to names and some
     19functions.  The functions mirror definitions in the Python C header files.
    1820
    1921
     
    4042
    4143
     44The token constants are:
     45
     46.. data:: ENDMARKER
     47          NAME
     48          NUMBER
     49          STRING
     50          NEWLINE
     51          INDENT
     52          DEDENT
     53          LPAR
     54          RPAR
     55          LSQB
     56          RSQB
     57          COLON
     58          COMMA
     59          SEMI
     60          PLUS
     61          MINUS
     62          STAR
     63          SLASH
     64          VBAR
     65          AMPER
     66          LESS
     67          GREATER
     68          EQUAL
     69          DOT
     70          PERCENT
     71          BACKQUOTE
     72          LBRACE
     73          RBRACE
     74          EQEQUAL
     75          NOTEQUAL
     76          LESSEQUAL
     77          GREATEREQUAL
     78          TILDE
     79          CIRCUMFLEX
     80          LEFTSHIFT
     81          RIGHTSHIFT
     82          DOUBLESTAR
     83          PLUSEQUAL
     84          MINEQUAL
     85          STAREQUAL
     86          SLASHEQUAL
     87          PERCENTEQUAL
     88          AMPEREQUAL
     89          VBAREQUAL
     90          CIRCUMFLEXEQUAL
     91          LEFTSHIFTEQUAL
     92          RIGHTSHIFTEQUAL
     93          DOUBLESTAREQUAL
     94          DOUBLESLASH
     95          DOUBLESLASHEQUAL
     96          AT
     97          OP
     98          ERRORTOKEN
     99          N_TOKENS
     100          NT_OFFSET
     101
     102
    42103.. seealso::
    43104
Note: See TracChangeset for help on using the changeset viewer.