mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Big diff: use lower-case list and dict (#5888)
This commit is contained in:
@@ -2,7 +2,7 @@ import array
|
||||
import threading
|
||||
import weakref
|
||||
from queue import Queue as Queue
|
||||
from typing import Any, Callable, Iterable, List, Mapping, Sequence
|
||||
from typing import Any, Callable, Iterable, Mapping, Sequence
|
||||
|
||||
JoinableQueue = Queue
|
||||
Barrier = threading.Barrier
|
||||
@@ -44,7 +44,7 @@ class Value:
|
||||
def Array(typecode: Any, sequence: Sequence[Any], lock: Any = ...) -> array.array[Any]: ...
|
||||
def Manager() -> Any: ...
|
||||
def Pool(processes: int | None = ..., initializer: Callable[..., Any] | None = ..., initargs: Iterable[Any] = ...) -> Any: ...
|
||||
def active_children() -> List[Any]: ...
|
||||
def active_children() -> list[Any]: ...
|
||||
def current_process() -> threading.Thread: ...
|
||||
def freeze_support() -> None: ...
|
||||
def shutdown() -> None: ...
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
from _typeshed import Self
|
||||
from queue import Queue
|
||||
from types import TracebackType
|
||||
from typing import Any, List, Tuple, Type, Union
|
||||
from typing import Any, Tuple, Type, Union
|
||||
|
||||
families: List[None]
|
||||
families: list[None]
|
||||
|
||||
_Address = Union[str, Tuple[str, int]]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user