mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Big diff: use lower-case list and dict (#5888)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from _typeshed import StrPath
|
||||
from typing import Any, BinaryIO, Callable, List, Protocol, overload
|
||||
from typing import Any, BinaryIO, Callable, Protocol, overload
|
||||
|
||||
class _ReadableBinary(Protocol):
|
||||
def tell(self) -> int: ...
|
||||
@@ -11,4 +11,4 @@ def what(file: StrPath | _ReadableBinary, h: None = ...) -> str | None: ...
|
||||
@overload
|
||||
def what(file: Any, h: bytes) -> str | None: ...
|
||||
|
||||
tests: List[Callable[[bytes, BinaryIO | None], str | None]]
|
||||
tests: list[Callable[[bytes, BinaryIO | None], str | None]]
|
||||
|
||||
Reference in New Issue
Block a user