No need to register classes that already inherit from ABCs.

This commit is contained in:
Raymond Hettinger 2008-02-11 19:00:13 +00:00
parent 0dd1b63746
commit 1021cc692d
4 changed files with 0 additions and 9 deletions

View file

@ -235,8 +235,6 @@ class MutableString(UserString, collections.MutableSequence):
def insert(self, index, value):
self[index:index] = value
collections.MutableSequence.register(MutableString)
if __name__ == "__main__":
# execute the regression test to stdout, if called as a script:
import os