Big diff: use lower-case list and dict (#5888)

This commit is contained in:
Akuli
2021-08-08 19:26:35 +03:00
committed by GitHub
parent 11f54c3407
commit ce11072dbe
325 changed files with 2196 additions and 2334 deletions

View File

@@ -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: ...

View File

@@ -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]]