mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-30 08:44:21 +08:00
start uniting tokenize.TokenInfo and token.Token
This commit is contained in:
@@ -36,8 +36,9 @@ tok_name[ENCODING] = 'ENCODING'
|
||||
|
||||
|
||||
class TokenInfo(object):
|
||||
"""The token object is an efficient representation of the structure
|
||||
(token_type, token, (start_pos_line, start_pos_col)). It has indexer
|
||||
"""
|
||||
The token object is an efficient representation of the structure
|
||||
(type, token, (start_pos_line, start_pos_col)). It has indexer
|
||||
methods that maintain compatibility to existing code that expects the above
|
||||
structure.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user