[pypy-svn] r4814 - pypy/trunk/src/pypy/objspace/std
hpk at codespeak.net
hpk at codespeak.net
Tue Jun 1 17:51:44 CEST 2004
Author: hpk
Date: Tue Jun 1 17:51:43 2004
New Revision: 4814
Modified:
pypy/trunk/src/pypy/objspace/std/stringobject.py
Log:
small fix
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 Tue Jun 1 17:51:43 2004
@@ -981,7 +981,7 @@
if c=='s':
pieces.append(str(value))
elif c=='d':
- pieces.append(str(value))
+ pieces.append(str(int(value)))
elif c=='x':
pieces.append(hex(int(value)))
elif c=='r':
More information about the Pypy-commit
mailing list