[pypy-svn] r76115 - pypy/branch/fast-forward/pypy/objspace/std
benjamin at codespeak.net
benjamin at codespeak.net
Mon Jul 12 00:18:29 CEST 2010
Author: benjamin
Date: Mon Jul 12 00:18:28 2010
New Revision: 76115
Modified:
pypy/branch/fast-forward/pypy/objspace/std/newformat.py
Log:
explicitly convert to list
Modified: pypy/branch/fast-forward/pypy/objspace/std/newformat.py
==============================================================================
--- pypy/branch/fast-forward/pypy/objspace/std/newformat.py (original)
+++ pypy/branch/fast-forward/pypy/objspace/std/newformat.py Mon Jul 12 00:18:28 2010
@@ -514,7 +514,7 @@
def _fill_digits(self, buf, digits, d_state, n_chars, n_zeros,
thousands_sep):
if thousands_sep:
- buf.extend(thousands_sep)
+ buf.extend(list(thousands_sep))
for i in range(d_state - 1, d_state - n_chars - 1, -1):
buf.append(digits[i])
for i in range(n_zeros):
More information about the Pypy-commit
mailing list