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

@@ -15,11 +15,8 @@ class LockType:
def __enter__(self) -> LockType: ...
def __exit__(self, typ: Any, value: Any, traceback: Any) -> None: ...
class _local(object):
pass
class _localdummy(object):
pass
class _local(object): ...
class _localdummy(object): ...
def start_new(function: Callable[..., Any], args: Any, kwargs: Any = ...) -> int: ...
def start_new_thread(function: Callable[..., Any], args: Any, kwargs: Any = ...) -> int: ...