summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-02-09 10:04:32 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-02-09 10:04:32 (GMT)
commitbfd061218b153f1d30b6bd344e947b4ae0fd49a5 (patch)
tree6e8bdefde676638ccc7fc33b842e95c9c6446b91
parentad3f3321f6067b67f7b6d3fa1eb72abc335a02ed (diff)
downloadcpython-bfd061218b153f1d30b6bd344e947b4ae0fd49a5.zip
cpython-bfd061218b153f1d30b6bd344e947b4ae0fd49a5.tar.gz
cpython-bfd061218b153f1d30b6bd344e947b4ae0fd49a5.tar.bz2
MappingView is Sized.
-rw-r--r--Lib/_abcoll.py2
1 files changed, 1 insertions, 1 deletions
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