From 6fd0f0ac1e65d5c525beaef092464ecd0b8cab5e Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 5 Sep 2001 02:27:04 +0000 Subject: [PATCH] Another / that should be a // (previously not caught because of incomplete coverage of the test suite). --- Lib/repr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/repr.py b/Lib/repr.py index 1b1f4f4689..0362680776 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 -- 2.40.0