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

Method __mul__

test/BoostBuild.py:1186–1193  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

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

Callers 1

__rmul__Method · 0.80

Calls 2

ListClass · 0.85
appendMethod · 0.80

Tested by

no test coverage detected