mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
drop ellipsis assignments from module vars, classvars and instance attrs (#5914)
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
This commit is contained in:
@@ -73,8 +73,8 @@ class _AcquireFunc(Protocol):
|
||||
def __call__(self, block: bool = ..., timeout: float | None = ...) -> bool: ...
|
||||
|
||||
class SynchronizedBase(Generic[_CT]):
|
||||
acquire: _AcquireFunc = ...
|
||||
release: Callable[[], None] = ...
|
||||
acquire: _AcquireFunc
|
||||
release: Callable[[], None]
|
||||
def __init__(self, obj: Any, lock: _LockLike | None = ..., ctx: Any | None = ...) -> None: ...
|
||||
def __reduce__(self) -> tuple[Callable[..., Any], tuple[Any, _LockLike]]: ...
|
||||
def get_obj(self) -> _CT: ...
|
||||
|
||||
Reference in New Issue
Block a user