@@ -67,21 +67,24 @@ import typing
6767
6868# ###################
6969# ## Built-ins
70+ # ###################
7071
7172class ListSubclass (typing .List ): ...
7273
73- # revealed: tuple[Literal[ListSubclass], Literal[list], Literal[MutableSequence], Literal[Sequence], Literal[Reversible], Literal[Collection], Literal[Iterable], Literal[Container], @Todo(`Protocol[]` subscript), Literal[object]]
74+ # TODO : generic protocols
75+ # revealed: tuple[Literal[ListSubclass], Literal[list], Literal[MutableSequence], Literal[Sequence], Literal[Reversible], Literal[Collection], Literal[Iterable], Literal[Container], @Todo(`Protocol[]` subscript), @Todo(`Generic[]` subscript), Literal[object]]
7476reveal_type(ListSubclass.__mro__ )
7577
7678class DictSubclass (typing .Dict ): ...
7779
78- # TODO
80+ # TODO : generic protocols
7981# revealed: tuple[Literal[DictSubclass], Literal[dict], Literal[MutableMapping], Literal[Mapping], Literal[Collection], Literal[Iterable], Literal[Container], @Todo(`Protocol[]` subscript), @Todo(`Generic[]` subscript), Literal[object]]
8082reveal_type(DictSubclass.__mro__ )
8183
8284class SetSubclass (typing .Set ): ...
8385
84- # revealed: tuple[Literal[SetSubclass], Literal[set], Literal[MutableSet], Literal[AbstractSet], Literal[Collection], Literal[Iterable], Literal[Container], @Todo(`Protocol[]` subscript), Literal[object]]
86+ # TODO : generic protocols
87+ # revealed: tuple[Literal[SetSubclass], Literal[set], Literal[MutableSet], Literal[AbstractSet], Literal[Collection], Literal[Iterable], Literal[Container], @Todo(`Protocol[]` subscript), @Todo(`Generic[]` subscript), Literal[object]]
8588reveal_type(SetSubclass.__mro__ )
8689
8790class FrozenSetSubclass (typing .FrozenSet ): ...
@@ -92,10 +95,11 @@ reveal_type(FrozenSetSubclass.__mro__)
9295
9396# ###################
9497# ## `collections`
98+ # ###################
9599
96100class ChainMapSubclass (typing .ChainMap ): ...
97101
98- # TODO
102+ # TODO : generic protocols
99103# revealed: tuple[Literal[ChainMapSubclass], Literal[ChainMap], Literal[MutableMapping], Literal[Mapping], Literal[Collection], Literal[Iterable], Literal[Container], @Todo(`Protocol[]` subscript), @Todo(`Generic[]` subscript), Literal[object]]
100104reveal_type(ChainMapSubclass.__mro__ )
101105
@@ -113,7 +117,8 @@ reveal_type(DefaultDictSubclass.__mro__)
113117
114118class DequeSubclass (typing .Deque ): ...
115119
116- # revealed: tuple[Literal[DequeSubclass], Literal[deque], Literal[MutableSequence], Literal[Sequence], Literal[Reversible], Literal[Collection], Literal[Iterable], Literal[Container], @Todo(`Protocol[]` subscript), Literal[object]]
120+ # TODO : generic protocols
121+ # revealed: tuple[Literal[DequeSubclass], Literal[deque], Literal[MutableSequence], Literal[Sequence], Literal[Reversible], Literal[Collection], Literal[Iterable], Literal[Container], @Todo(`Protocol[]` subscript), @Todo(`Generic[]` subscript), Literal[object]]
117122reveal_type(DequeSubclass.__mro__ )
118123
119124class OrderedDictSubclass (typing .OrderedDict ): ...
0 commit comments