Use variable annotations everywhere (#2909)

This commit is contained in:
Michael Lee
2019-04-13 01:40:52 -07:00
committed by Sebastian Rittau
parent b3c76aab49
commit efb67946f8
458 changed files with 9135 additions and 9135 deletions

View File

@@ -3,9 +3,9 @@ from builtins import open as _builtin_open
import sys
from token import * # noqa: F403
COMMENT = ... # type: int
NL = ... # type: int
ENCODING = ... # type: int
COMMENT: int
NL: int
ENCODING: int
_Position = Tuple[int, int]
@@ -28,10 +28,10 @@ class TokenError(Exception): ...
class StopTokenizing(Exception): ...
class Untokenizer:
tokens = ... # type: List[str]
prev_row = ... # type: int
prev_col = ... # type: int
encoding = ... # type: Optional[str]
tokens: List[str]
prev_row: int
prev_col: int
encoding: Optional[str]
def __init__(self) -> None: ...
def add_whitespace(self, start: _Position) -> None: ...
def untokenize(self, iterable: Iterable[_Token]) -> str: ...