diff Lib/_abcoll.py @ 45252:a2bf2a59404a

MappingView is Sized.
author Raymond Hettinger <python@rcn.com>
date Sat, 09 Feb 2008 10:04:32 +0000
parents 0f3d58f9cd35
children dd318c3f6cb7
line wrap: on
line diff
--- a/Lib/_abcoll.py	Sat Feb 09 04:13:49 2008 +0000
+++ b/Lib/_abcoll.py	Sat Feb 09 10:04:32 2008 +0000
@@ -382,7 +382,7 @@
         return not (self == other)
 
 
-class MappingView(metaclass=ABCMeta):
+class MappingView(Sized):
 
     def __init__(self, mapping):
         self._mapping = mapping