mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-03-25 18:16:36 +08:00
Prefer to use ellipsis over pass (#2292)
This commit is contained in:
committed by
Jelle Zijlstra
parent
187aaaced9
commit
581705d9ee
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user