Commit daae7846 authored by Guido van Rossum's avatar Guido van Rossum

Another / that should be a // (previously not caught because of

incomplete coverage of the test suite).
parent 19cb7a0e
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment