Prefer to use ellipsis over pass (#2292)

This commit is contained in:
Yusuke Miyazaki
2018-06-29 02:29:45 +09:00
committed by Jelle Zijlstra
parent 187aaaced9
commit 581705d9ee
15 changed files with 47 additions and 86 deletions

View File

@@ -122,11 +122,9 @@ def tokenize(readline: Callable[[], str], tokeneater: Callable[[Tuple[int, str,
def tokenize_loop(readline: Callable[[], str], tokeneater: Callable[[Tuple[int, str, _Pos, _Pos, str]], None]) -> None: ...
def untokenize(iterable: Iterable[_TokenType]) -> str: ...
class StopTokenizing(Exception):
pass
class StopTokenizing(Exception): ...
class TokenError(Exception):
pass
class TokenError(Exception): ...
class Untokenizer:
prev_col = ... # type: int