mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Support dict(foo.split() for foo in bar) with bytes (#10072)
This commit is contained in:
@@ -197,6 +197,8 @@ class SyncManager(BaseManager):
|
||||
@overload
|
||||
def dict(self, __iterable: Iterable[list[str]]) -> DictProxy[str, str]: ...
|
||||
@overload
|
||||
def dict(self, __iterable: Iterable[list[bytes]]) -> DictProxy[bytes, bytes]: ...
|
||||
@overload
|
||||
def list(self, __sequence: Sequence[_T]) -> ListProxy[_T]: ...
|
||||
@overload
|
||||
def list(self) -> ListProxy[Any]: ...
|
||||
|
||||
Reference in New Issue
Block a user