diff options
| author | Raymond Hettinger <python@rcn.com> | 2008-02-14 19:30:30 (GMT) |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2008-02-14 19:30:30 (GMT) |
| commit | 36316e37d57ee871a642e760a4d4566b54db78ae (patch) | |
| tree | ca073057859325dcb51f2b79d6e12a6e3f85f4e5 /Lib/UserString.py | |
| parent | 5111c522e7ae21ad3342f14be4a5ff46230b46b0 (diff) | |
| download | cpython-36316e37d57ee871a642e760a4d4566b54db78ae.zip cpython-36316e37d57ee871a642e760a4d4566b54db78ae.tar.gz cpython-36316e37d57ee871a642e760a4d4566b54db78ae.tar.bz2 | |
No need to register subclass of ABCs.
Diffstat (limited to 'Lib/UserString.py')
| -rwxr-xr-x | Lib/UserString.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/UserString.py b/Lib/UserString.py index 94fcbd2..4ef2265 100755 --- a/Lib/UserString.py +++ b/Lib/UserString.py @@ -130,8 +130,6 @@ class UserString(collections.Sequence): def upper(self): return self.__class__(self.data.upper()) def zfill(self, width): return self.__class__(self.data.zfill(width)) -collections.Sequence.register(UserString) - class MutableString(UserString, collections.MutableSequence): """mutable string objects |
