mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
No need to register subclass of ABCs.
This commit is contained in:
parent
5111c522e7
commit
36316e37d5
1 changed files with 0 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue