From bfd061218b153f1d30b6bd344e947b4ae0fd49a5 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sat, 9 Feb 2008 10:04:32 +0000 Subject: MappingView is Sized. --- Lib/_abcoll.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/_abcoll.py b/Lib/_abcoll.py index c241a95..cc4c442 100644 --- a/Lib/_abcoll.py +++ b/Lib/_abcoll.py @@ -382,7 +382,7 @@ class Mapping(Sized, Iterable, Container): return not (self == other) -class MappingView(metaclass=ABCMeta): +class MappingView(Sized): def __init__(self, mapping): self._mapping = mapping -- cgit v0.12