MCPcopy Index your code
hub / github.com/python/cpython / __mul__

Method __mul__

Lib/test/test_index.py:211–212  ·  view source on GitHub ↗
(self, n)

Source from the content-addressed store, hash-verified

209 return len(self._list)
210
211 def __mul__(self, n):
212 return self.__class__(self._list*n)
213 __rmul__ = __mul__
214
215 def __getitem__(self, index):

Callers 1

test_wrappersMethod · 0.45

Calls 1

__class__Method · 0.45

Tested by

no test coverage detected