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

@@ -1,14 +1,14 @@
import sys
from _typeshed import SupportsRead
from importlib.abc import Loader, MetaPathFinder, PathEntryFinder
from typing import IO, Any, Callable, Iterable, Iterator, List, NamedTuple, Tuple
from typing import IO, Any, Callable, Iterable, Iterator, NamedTuple, Tuple
class ModuleInfo(NamedTuple):
module_finder: MetaPathFinder | PathEntryFinder
name: str
ispkg: bool
def extend_path(path: List[str], name: str) -> List[str]: ...
def extend_path(path: list[str], name: str) -> list[str]: ...
class ImpImporter:
def __init__(self, path: str | None = ...) -> None: ...