Move some constants from tokenize to token in Python 3.7+. (#3175)

This commit is contained in:
Rebecca Chen
2019-08-07 23:45:08 -07:00
committed by Sebastian Rittau
parent 0dea39cb3c
commit 6f01493edc
2 changed files with 8 additions and 3 deletions

View File

@@ -3,9 +3,10 @@ from builtins import open as _builtin_open
import sys
from token import * # noqa: F403
COMMENT: int
NL: int
ENCODING: int
if sys.version_info < (3, 7):
COMMENT: int
NL: int
ENCODING: int
_Position = Tuple[int, int]