Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6fd0f0a

Browse files
committed
Another / that should be a // (previously not caught because of
incomplete coverage of the test suite).
1 parent cf856f9 commit 6fd0f0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/repr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def repr1(self, x, level):
2323
else:
2424
s = `x`
2525
if len(s) > self.maxother:
26-
i = max(0, (self.maxother-3)/2)
26+
i = max(0, (self.maxother-3)//2)
2727
j = max(0, self.maxother-3-i)
2828
s = s[:i] + '...' + s[len(s)-j:]
2929
return s

0 commit comments

Comments
 (0)