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