[pypy-svn] r5121 - pypy/trunk/src/pypy/objspace/std

arigo at codespeak.net arigo at codespeak.net
Wed Jun 16 17:45:19 CEST 2004


Author: arigo
Date: Wed Jun 16 17:45:18 2004
New Revision: 5121

Modified:
   pypy/trunk/src/pypy/objspace/std/stringobject.py
Log:
Added 'int * str'.


Modified: pypy/trunk/src/pypy/objspace/std/stringobject.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/stringobject.py	(original)
+++ pypy/trunk/src/pypy/objspace/std/stringobject.py	Wed Jun 16 17:45:18 2004
@@ -902,6 +902,9 @@
 
     return space.wrap("".join(buffer))
 
+def mul__Int_String(space, w_mul, w_str):
+    return mul__String_Int(space, w_str, w_mul)
+
 def add__String_String(space, w_left, w_right):
     u = space.unwrap
     right = u(w_right)



More information about the Pypy-commit mailing list