(self, other)
| 1182 | return "%s.List(%r)" % (self.__module__, " ".join(self.l)) |
| 1183 | |
| 1184 | def __mul__(self, other): |
| 1185 | result = List() |
| 1186 | if not isinstance(other, List): |
| 1187 | other = List(other) |
| 1188 | for f in self: |
| 1189 | for s in other: |
| 1190 | result.l.append(f + s) |
| 1191 | return result |
| 1192 | |
| 1193 | def __rmul__(self, other): |
| 1194 | if not isinstance(other, List): |