MappingView is Sized.

This commit is contained in:
Raymond Hettinger 2008-02-09 10:04:32 +00:00
parent ad3f3321f6
commit bfd061218b
1 changed files with 1 additions and 1 deletions

View 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