mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 00:43:45 +08:00
Big diff: use lower-case list and dict (#5888)
This commit is contained in:
1 parent
11f54c3407
commit
ce11072dbe
325 files changed
+2196
-2334
No files matched your search
+2
-2
@@ -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