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