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:
Ran Benita 2019-07-14 22:21:15 +03:00
parent 0394ebffee
commit c7aacc96bb
1 changed files with 0 additions and 1 deletions

View File

@ -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)