diff options
Diffstat (limited to 'Lib/repr.py')
-rw-r--r-- | Lib/repr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/repr.py b/Lib/repr.py index f8ef71d..6376a14 100644 --- a/Lib/repr.py +++ b/Lib/repr.py @@ -60,7 +60,7 @@ class Repr: key = keys[i] s = s + self.repr1(key, level-1) s = s + ': ' + self.repr1(x[key], level-1) - if n > self.maxlist: s = s + ', ...' + if n > self.maxdict: s = s + ', ...' return '{' + s + '}' def repr_string(self, x, level): s = `x[:self.maxstring]` |