mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-09 21:42:20 +08:00
temporary fix for typing.Mapping[...].items(), can be removed after #683 is fixed
This commit is contained in:
@@ -71,7 +71,7 @@ def factory(typing_name, indextypes):
|
||||
class ItemsView(abc.ItemsView):
|
||||
def __iter__(self):
|
||||
while True:
|
||||
yield Tuple()
|
||||
yield (indextypes[0](), indextypes[1]())
|
||||
|
||||
class Mapping(Iterable, abc.Mapping):
|
||||
def __getitem__(self, item):
|
||||
|
||||
Reference in New Issue
Block a user