[pypy-svn] r8725 - pypy/dist/pypy/interpreter
arigo at codespeak.net
arigo at codespeak.net
Sat Jan 29 17:03:53 CET 2005
Author: arigo
Date: Sat Jan 29 17:03:53 2005
New Revision: 8725
Modified:
pypy/dist/pypy/interpreter/pycode.py
Log:
PyCode.co_consts_w is really a list, not a tuple.
Modified: pypy/dist/pypy/interpreter/pycode.py
==============================================================================
--- pypy/dist/pypy/interpreter/pycode.py (original)
+++ pypy/dist/pypy/interpreter/pycode.py Sat Jan 29 17:03:53 2005
@@ -53,8 +53,8 @@
self.co_stacksize = 0 # #entries needed for evaluation stack
self.co_flags = 0 # CO_..., see above
self.co_code = None # string: instruction opcodes
- self.co_consts_w = () # tuple: constants used (wrapped!)
- self.co_names_w = [] # list of wrapped strings: names (for attrs,...)
+ self.co_consts_w = [] # list of constants used (wrapped!)
+ self.co_names_w = [] # list of wrapped strs: names (for attrs..)
self.co_varnames = () # tuple of strings: local variable names
self.co_freevars = () # tuple of strings: free variable names
self.co_cellvars = () # tuple of strings: cell variable names
More information about the Pypy-commit
mailing list