MCPcopy Create free account
hub / github.com/ActiveState/code / __mul__

Method __mul__

recipes/Python/498272_Rich_iterator_wrapper/recipe-498272.py:27–27  ·  view source on GitHub ↗
(self, num)

Source from the content-addressed store, hash-verified

25 return Iter(chain(self._it, other._it))
26
27 def __mul__(self, num): return Iter(chain(*tee(self._it,num)))
28 __rmul__ = __mul__
29
30 def __getitem__(self, index):

Callers

nothing calls this directly

Calls 1

IterClass · 0.85

Tested by

no test coverage detected