commit | bfd061218b153f1d30b6bd344e947b4ae0fd49a5 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sat Feb 09 10:04:32 2008 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sat Feb 09 10:04:32 2008 +0000 |
tree | 6e8bdefde676638ccc7fc33b842e95c9c6446b91 | |
parent | ad3f3321f6067b67f7b6d3fa1eb72abc335a02ed [diff] [blame] |
MappingView is Sized.
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 @@ return not (self == other) -class MappingView(metaclass=ABCMeta): +class MappingView(Sized): def __init__(self, mapping): self._mapping = mapping