Support dict(foo.split() for foo in bar) with bytes (#10072)

This commit is contained in:
Akuli
2023-04-22 18:28:34 +03:00
committed by GitHub
parent d74bea5e87
commit 03b8c60a02
4 changed files with 11 additions and 1 deletions

View File

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