Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ __rmul__
Method
__rmul__
recipes/Python/205451_Povray_for_python/recipe-205451.py:47–48 ·
view source on GitHub ↗
(self,other)
Source
from the content-addressed store, hash-verified
45
def
__mul__(self,other):
46
return
Vector( [r*other
for
r in self.v] )
47
def
__rmul__(self,other):
48
return
Vector( [r*other
for
r in self.v] )
49
50
class
Item:
51
def
__init__(self,name,args=[],opts=[],**kwargs):
Callers
nothing calls this directly
Calls
1
Vector
Class · 0.70
Tested by
no test coverage detected