mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
Use lowercase set/deque in stdlib subdirectories (#6350)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import sys
|
||||
from collections import deque
|
||||
from types import TracebackType
|
||||
from typing import Any, Awaitable, Callable, Deque, Generator, Type, TypeVar
|
||||
from typing import Any, Awaitable, Callable, Generator, Type, TypeVar
|
||||
|
||||
from .events import AbstractEventLoop
|
||||
from .futures import Future
|
||||
@@ -57,7 +58,7 @@ class Condition(_ContextManagerMixin):
|
||||
|
||||
class Semaphore(_ContextManagerMixin):
|
||||
_value: int
|
||||
_waiters: Deque[Future[Any]]
|
||||
_waiters: deque[Future[Any]]
|
||||
def __init__(self, value: int = ..., *, loop: AbstractEventLoop | None = ...) -> None: ...
|
||||
def locked(self) -> bool: ...
|
||||
async def acquire(self) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user