mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-30 16:54:20 +08:00
Trying to replace the old pgen2 token module with a token module more tightly coupled to the standard library.
This commit is contained in:
@@ -16,6 +16,9 @@ import re
|
||||
from io import StringIO
|
||||
from token import (tok_name, N_TOKENS, ENDMARKER, STRING, NUMBER, NAME, OP,
|
||||
ERRORTOKEN, NEWLINE, INDENT, DEDENT)
|
||||
import token
|
||||
|
||||
from jedi._compatibility import is_py3
|
||||
|
||||
cookie_re = re.compile("coding[:=]\s*([-\w.]+)")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user