summaryrefslogtreecommitdiffstats
path: root/Lib/repr.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/repr.py')
-rw-r--r--Lib/repr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/repr.py b/Lib/repr.py
index 32544a2..c580168 100644
--- a/Lib/repr.py
+++ b/Lib/repr.py
@@ -92,7 +92,7 @@ class Repr:
s = s[:i] + '...' + s[len(s)-j:]
return s
- def repr_long(self, x, level):
+ def repr_int(self, x, level):
s = __builtin__.repr(x) # XXX Hope this isn't too slow...
if len(s) > self.maxlong:
i = max(0, (self.maxlong-3)//2)