[pypy-svn] r49630 - pypy/dist/pypy/lang/smalltalk
arigo at codespeak.net
arigo at codespeak.net
Tue Dec 11 17:25:35 CET 2007
Author: arigo
Date: Tue Dec 11 17:25:33 2007
New Revision: 49630
Modified:
pypy/dist/pypy/lang/smalltalk/model.py
Log:
Translation fix.
Modified: pypy/dist/pypy/lang/smalltalk/model.py
==============================================================================
--- pypy/dist/pypy/lang/smalltalk/model.py (original)
+++ pypy/dist/pypy/lang/smalltalk/model.py Tue Dec 11 17:25:33 2007
@@ -414,6 +414,7 @@
self.setchar(index0, chr(utility.unwrap_int(w_value)))
def setchar(self, index0, character):
+ assert index0 >= 0
self.bytes = (self.bytes[:index0] + character +
self.bytes[index0 + 1:])
More information about the Pypy-commit
mailing list