class Iterator(Iterable):
- __metaclass__ = ABCMeta
@abstractmethod
def __next__(self):
class Set(Sized, Iterable, Container):
- __metaclass__ = ABCMeta
-
"""A set is a finite, iterable container.
This class provides concrete generic implementations of all
class Mapping(Sized, Iterable, Container):
- __metaclass__ = ABCMeta
@abstractmethod
def __getitem__(self, key):
return not (self == other)
class MappingView(Sized):
- __metaclass__ = ABCMeta
def __init__(self, mapping):
self._mapping = mapping
class Sequence(Sized, Iterable, Container):
- __metaclass__ = ABCMeta
-
"""All the operations on a read-only sequence.
Concrete subclasses must override __new__ or __init__,