From 31f6bc018bacbb682b3a55d85667ca8c767a482b Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 11 Feb 2008 18:51:08 +0000 Subject: No need to register classes that already inherit from ABCs. --- Lib/UserString.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'Lib/UserString.py') diff --git a/Lib/UserString.py b/Lib/UserString.py index 71984a71cd..94fcbd276d 100755 --- a/Lib/UserString.py +++ b/Lib/UserString.py @@ -214,8 +214,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 -- cgit v1.2.1