mirror of https://github.com/python/cpython
No need to register subclass of ABCs.
This commit is contained in:
parent
5111c522e7
commit
36316e37d5
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue