-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ceab505
commit cb9d48a
Showing
1 changed file
with
3 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,21 +55,17 @@ | |
__author__ = "Ka-Ping Yee <[email protected]>" | ||
__credits__ = "GvR, ESR, Tim Peters, Thomas Wouters, Fred Drake, Skip Montanaro" | ||
|
||
import re | ||
import token | ||
from codecs import BOM_UTF8, lookup | ||
|
||
import pytokens | ||
from pytokens import TokenType | ||
|
||
from . import token | ||
from . import token as _token | ||
|
||
__all__ = [x for x in dir(token) if x[0] != "_"] + [ | ||
__all__ = [x for x in dir(_token) if x[0] != "_"] + [ | ||
"tokenize", | ||
"generate_tokens", | ||
"untokenize", | ||
] | ||
del token | ||
del _token | ||
|
||
Coord = tuple[int, int] | ||
TokenInfo = tuple[int, str, Coord, Coord, str] | ||
|