[pypy-svn] r48366 - pypy/branch/pypy-rpython-unicode/annotation
fijal at codespeak.net
fijal at codespeak.net
Wed Nov 7 18:00:30 CET 2007
Author: fijal
Date: Wed Nov 7 18:00:28 2007
New Revision: 48366
Modified:
pypy/branch/pypy-rpython-unicode/annotation/binaryop.py
Log:
Allow unichr * integer
Modified: pypy/branch/pypy-rpython-unicode/annotation/binaryop.py
==============================================================================
--- pypy/branch/pypy-rpython-unicode/annotation/binaryop.py (original)
+++ pypy/branch/pypy-rpython-unicode/annotation/binaryop.py Wed Nov 7 18:00:28 2007
@@ -656,10 +656,9 @@
getitem_idx_key = getitem_idx
- # uncomment if we really want to support that
- #def mul((str1, int2)): # xxx do we want to support this
- # getbookkeeper().count("str_mul", str1, int2)
- # return SomeString()
+ def mul((str1, int2)): # xxx do we want to support this
+ getbookkeeper().count("str_mul", str1, int2)
+ return SomeUnicodeString()
class __extend__(pairtype(SomeInteger, SomeString)):
More information about the Pypy-commit
mailing list