]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
MappingView is Sized.
authorRaymond Hettinger <python@rcn.com>
Sat, 9 Feb 2008 10:04:32 +0000 (10:04 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 9 Feb 2008 10:04:32 +0000 (10:04 +0000)
Lib/_abcoll.py

index c241a9502e7fbb530fe1c2701ef07aeed8758704..cc4c4423e8a60807901b7434f2c47144b53b5206 100644 (file)
@@ -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