# HG changeset patch # User Nicolas Chauvat # Date 1278338354 -7200 # Node ID 7a5f370c5be126d6d2377a7ad271db5187e7a2dc # Parent 4c7a0b1398305f725405d34dce3097f4fefd9c8a [utils] improve repr() of RepeatList diff -r 4c7a0b139830 -r 7a5f370c5be1 utils.py --- a/utils.py Mon Jul 05 15:58:36 2010 +0200 +++ b/utils.py Mon Jul 05 15:59:14 2010 +0200 @@ -121,6 +121,9 @@ def __init__(self, size, item): self._size = size self._item = item + def __repr__(self): + return '' % ( + id(self), self._item, self._size) def __len__(self): return self._size def __nonzero__(self):