Add cookie_re / blank_re to py3 tokenize (#3745)

This commit is contained in:
Anthony Sottile authored and GitHub committed 2020-02-20 23:10:30 +01:00
1 parent 7b630ca24a
commit 9ec0bcf7e4
1 file changed
+4 -1
+4 -1
View File
@@ -1,4 +1,4 @@
from typing import Any, Callable, Generator, Iterable, List, NamedTuple, Optional, Union, Sequence, TextIO, Tuple
from typing import Any, Callable, Generator, Iterable, List, NamedTuple, Optional, Pattern, Union, Sequence, TextIO, Tuple
from builtins import open as _builtin_open
import sys
from token import * # noqa: F403
@@ -8,6 +8,9 @@ if sys.version_info < (3, 7):
NL: int
ENCODING: int
cookie_re: Pattern[str]
blank_re: Pattern[bytes]
_Position = Tuple[int, int]
class _TokenInfo(NamedTuple):