diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-06-11 07:29:43 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-06-11 07:29:43 +0000 |
commit | c161cb995530521711e47425170524921fc1b559 (patch) | |
tree | 4a79895865935ffcb3feb0d474c2a480411e25be /Lib/repr.py | |
parent | ade2c216e17d519bca6a9401c938e1b3ec374746 (diff) | |
download | cpython-git-c161cb995530521711e47425170524921fc1b559.tar.gz |
Bug #1734723: Fix repr.Repr() so it doesn't ignore the maxtuple attribute.
Will backport
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 53b5207e5f..59015b1a9b 100644 --- a/Lib/repr.py +++ b/Lib/repr.py @@ -52,7 +52,7 @@ class Repr: return '%s%s%s' % (left, s, right) def repr_tuple(self, x, level): - return self._repr_iterable(x, level, '(', ')', self.maxlist, ',') + return self._repr_iterable(x, level, '(', ')', self.maxtuple, ',') def repr_list(self, x, level): return self._repr_iterable(x, level, '[', ']', self.maxlist) |