saferepr: Remove unused setting of max_other
max_other is used by the superclass repr_instance, but we override it and use maxsize instead.
This commit is contained in:
		
							parent
							
								
									0394ebffee
								
							
						
					
					
						commit
						c7aacc96bb
					
				|  | @ -26,7 +26,6 @@ class SafeRepr(reprlib.Repr): | |||
|         super().__init__() | ||||
|         self.maxstring = maxsize | ||||
|         self.maxsize = maxsize | ||||
|         self.maxother = 160 | ||||
| 
 | ||||
|     def repr(self, x): | ||||
|         return self._callhelper(reprlib.Repr.repr, self, x) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue