diff options
author | Raymond Hettinger <python@rcn.com> | 2008-02-09 10:04:19 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-02-09 10:04:19 (GMT) |
commit | 2cd9bf5e7cf50762b792404188c664431233053e (patch) | |
tree | 7819ec4f551351692d117dc55f9279193af65f98 /Lib/_abcoll.py | |
parent | 17a74c395eafa98e7dcdeaa8a48110e95b142b66 (diff) | |
download | cpython-2cd9bf5e7cf50762b792404188c664431233053e.zip cpython-2cd9bf5e7cf50762b792404188c664431233053e.tar.gz cpython-2cd9bf5e7cf50762b792404188c664431233053e.tar.bz2 |
Metaclass declaration is inherited
Diffstat (limited to 'Lib/_abcoll.py')
-rw-r--r-- | Lib/_abcoll.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/_abcoll.py b/Lib/_abcoll.py index a0473f3..d25d521 100644 --- a/Lib/_abcoll.py +++ b/Lib/_abcoll.py @@ -57,7 +57,6 @@ Iterable.register(str) class Iterator(Iterable): - __metaclass__ = ABCMeta @abstractmethod def __next__(self): @@ -123,8 +122,6 @@ class Callable: class Set(Sized, Iterable, Container): - __metaclass__ = ABCMeta - """A set is a finite, iterable container. This class provides concrete generic implementations of all @@ -312,7 +309,6 @@ MutableSet.register(set) class Mapping(Sized, Iterable, Container): - __metaclass__ = ABCMeta @abstractmethod def __getitem__(self, key): @@ -349,7 +345,6 @@ class Mapping(Sized, Iterable, Container): return not (self == other) class MappingView(Sized): - __metaclass__ = ABCMeta def __init__(self, mapping): self._mapping = mapping @@ -469,8 +464,6 @@ MutableMapping.register(dict) class Sequence(Sized, Iterable, Container): - __metaclass__ = ABCMeta - """All the operations on a read-only sequence. Concrete subclasses must override __new__ or __init__, |