equal
deleted
inserted
replaced
133 return other[:] + ([self._item] * self._size) |
133 return other[:] + ([self._item] * self._size) |
134 def __eq__(self, other): |
134 def __eq__(self, other): |
135 if isinstance(other, RepeatList): |
135 if isinstance(other, RepeatList): |
136 return other._size == self.size and other._item == self.item |
136 return other._size == self.size and other._item == self.item |
137 return self[:] == other |
137 return self[:] == other |
138 |
138 def pop(self, i): |
|
139 self._size -= 1 |
139 |
140 |
140 class UStringIO(list): |
141 class UStringIO(list): |
141 """a file wrapper which automatically encode unicode string to an encoding |
142 """a file wrapper which automatically encode unicode string to an encoding |
142 specifed in the constructor |
143 specifed in the constructor |
143 """ |
144 """ |