Skip to content

Commit

Permalink
fix mypyc
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharsadhwani committed Dec 23, 2024
1 parent ceab505 commit cb9d48a
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/blib2to3/pgen2/tokenize.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit cb9d48a

Please sign in to comment.