[pypy-svn] r14656 - pypy/dist/pypy/module/unicodedata

ac at codespeak.net ac at codespeak.net
Thu Jul 14 11:15:06 CEST 2005


Author: ac
Date: Thu Jul 14 11:14:37 2005
New Revision: 14656

Modified:
   pypy/dist/pypy/module/unicodedata/function.py
Log:
Fix missplaced ']'.

Modified: pypy/dist/pypy/module/unicodedata/function.py
==============================================================================
--- pypy/dist/pypy/module/unicodedata/function.py	(original)
+++ pypy/dist/pypy/module/unicodedata/function.py	Thu Jul 14 11:14:37 2005
@@ -136,14 +136,14 @@
             T = TBase + SIndex % TCount;
             if T == TBase:
                 if j + 2 > resultlen:
-                    result.extend([0 * (j + 2 - resultlen + 10)])
+                    result.extend([0] * (j + 2 - resultlen + 10))
                     resultlen = len(result)
                 result[j] = L
                 result[j + 1] = V
                 j += 2
             else:
                 if j + 3 > resultlen:
-                    result.extend([0 * (j + 3 - resultlen + 10)])
+                    result.extend([0] * (j + 3 - resultlen + 10))
                     resultlen = len(result)
                 result[j] = L
                 result[j + 1] = V
@@ -154,14 +154,14 @@
         if decomp:
             decomplen = len(decomp)
             if j + decomplen > resultlen:
-                result.extend([0 * (j + decomplen - resultlen + 10)])
+                result.extend([0] * (j + decomplen - resultlen + 10))
                 resultlen = len(result)
             for ch in decomp:
                 result[j] = ch
                 j += 1
         else:
             if j + 1 > resultlen:
-                result.extend([0 * (j + 1 - resultlen + 10)])
+                result.extend([0] * (j + 1 - resultlen + 10))
                 resultlen = len(result)
             result[j] = ch
             j += 1



More information about the Pypy-commit mailing list