Python: multiplication override

Just add the following to the class definition and you should be good to go:

__rmul__ = __mul__

Leave a Comment