MCPcopy Create free account
hub / github.com/boostorg/build / __mul__

Method __mul__

v2/test/BoostBuild.py:1184–1191  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

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):

Callers 1

__rmul__Method · 0.80

Calls 2

ListClass · 0.85
appendMethod · 0.80

Tested by

no test coverage detected