mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-29 07:06:55 +08:00
Move some constants from tokenize to token in Python 3.7+. (#3175)
This commit is contained in:
committed by
Sebastian Rittau
parent
0dea39cb3c
commit
6f01493edc
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user