Commits

Walter Dörwald committed af1b978

__mul__ and __rmul__ use the same code now. This fixes a bug in __rmul__.

Comments (0)

Files changed (1)

 		list.extend(node, list.__mul__(self, factor))
 		return node
 
-	def __rmul__(self, factor):
-		"""
-		returns a <pyref class="Frag"><class>Frag</class></pyref> with <arg>factor</arg> times
-		the content of <self/>.
-		"""
-		node = self._create()
-		list.extend(node, list.__mul__(factor, self))
-		return node
+	__rmul__ = __mul__
 
 	def __nonzero__(self):
 		"""