Staging: this is not the live site, pydocs.org.
A named tuple describing a token. It has five fields and an additional exact_type property.
Members of TokenInfo
e
- end
- Alias for field number 3
- exact_type
- An integer identifying the specific operator type for OP tokens, as defined by the constants in token.
l
- line
- Alias for field number 4
s
- start
- Alias for field number 2
- string
- Alias for field number 1
t
- type
- Alias for field number 0