[pypy-svn] r76103 - pypy/branch/fast-forward/pypy/objspace/std
benjamin at codespeak.net
benjamin at codespeak.net
Sun Jul 11 03:11:40 CEST 2010
Author: benjamin
Date: Sun Jul 11 03:11:33 2010
New Revision: 76103
Modified:
pypy/branch/fast-forward/pypy/objspace/std/newformat.py
Log:
remove unneeded error check
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 Sun Jul 11 03:11:33 2010
@@ -588,9 +588,6 @@
if self._sign != "\0":
msg = "sign not allowed with 'c' presentation type"
raise OperationError(space.w_ValueError, space.wrap(msg))
- if self._thousands_sep:
- msg = "thousands separator not allowed with 'c' presentation"
- raise Operationerror(space.w_ValueError, space.wrap(msg))
value = space.int_w(w_num)
if self.is_unicode:
result = runicode.UNICHR(value)
More information about the Pypy-commit
mailing list