temporary fix for typing.Mapping[...].items(), can be removed after #683 is fixed
This commit is contained in:
1 parent
b316fb94c4
commit
941da773f6
1 file changed
+1
-1
@@ -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