commit | 6fd0f0ac1e65d5c525beaef092464ecd0b8cab5e | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Sep 05 02:27:04 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Sep 05 02:27:04 2001 +0000 |
tree | 29ddba68ac6c9f2c5dd29b0a03e9fb52affd1d7f | |
parent | cf856f9f28e4a2806fa835fb4e0e54582c0a2edd [diff] [blame] |
Another / that should be a // (previously not caught because of incomplete coverage of the test suite).
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 @@ 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