diff options
-rw-r--r-- | Lib/repr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/repr.py b/Lib/repr.py index 1b1f4f4..0362680 100644 --- a/Lib/repr.py +++ b/Lib/repr.py @@ -23,7 +23,7 @@ class Repr: else: s = `x` if len(s) > self.maxother: - i = max(0, (self.maxother-3)/2) + i = max(0, (self.maxother-3)//2) j = max(0, self.maxother-3-i) s = s[:i] + '...' + s[len(s)-j:] return s |