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

Class Multiplier

Lib/test/test_turtle.py:166–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164
165
166class Multiplier:
167
168 def __mul__(self, other):
169 return f'M*{other}'
170
171 def __rmul__(self, other):
172 return f'{other}*M'
173
174
175class TestVec2D(VectorComparisonMixin, unittest.TestCase):

Callers 1

test_vector_multiplyMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_vector_multiplyMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…