[pypy-svn] r48168 - pypy/dist/pypy/lang/smalltalk
cfbolz at codespeak.net
cfbolz at codespeak.net
Mon Oct 29 18:16:17 CET 2007
Author: cfbolz
Date: Mon Oct 29 18:16:15 2007
New Revision: 48168
Modified:
pypy/dist/pypy/lang/smalltalk/model.py
Log:
fix default argument
Modified: pypy/dist/pypy/lang/smalltalk/model.py
==============================================================================
--- pypy/dist/pypy/lang/smalltalk/model.py (original)
+++ pypy/dist/pypy/lang/smalltalk/model.py Mon Oct 29 18:16:15 2007
@@ -281,7 +281,7 @@
The trailer has two variant formats. In the first variant, the last byte is at least 252 and the last four bytes represent a source pointer into one of the sources files (see #sourcePointer). In the second variant, the last byte is less than 252, and the last several bytes are a compressed version of the names of the method's temporary variables. The number of bytes used for this purpose is the value of the last byte in the method.
"""
- def __init__(self, literalsize, bytes=[], argsize=0,
+ def __init__(self, literalsize, bytes="", argsize=0,
tempsize=0, primitive=0, w_compiledin=None):
self.literals = [None] * literalsize
self.w_compiledin = w_compiledin
More information about the Pypy-commit
mailing list