mirror of
https://github.com/python/cpython.git
synced 2024-11-25 02:44:06 +08:00
MappingView is Sized.
This commit is contained in:
parent
ad3f3321f6
commit
bfd061218b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user