mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	No need to register classes that already inherit from ABCs.
This commit is contained in:
		
							parent
							
								
									cd873fc142
								
							
						
					
					
						commit
						31f6bc018b
					
				
					 2 changed files with 0 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -85,5 +85,3 @@ def extend(self, other):
 | 
			
		|||
            self.data.extend(other.data)
 | 
			
		||||
        else:
 | 
			
		||||
            self.data.extend(other)
 | 
			
		||||
 | 
			
		||||
collections.MutableSequence.register(UserList)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -214,8 +214,6 @@ def __imul__(self, n):
 | 
			
		|||
    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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue